diff --git a/basis/tools/deploy/test/test.factor b/basis/tools/deploy/test/test.factor
index d90ee2caf9..44c4dd1161 100644
--- a/basis/tools/deploy/test/test.factor
+++ b/basis/tools/deploy/test/test.factor
@@ -1,7 +1,7 @@
-USING: accessors arrays bootstrap.image continuations
-io.directories io.files.info io.files.temp io.launcher
-io.backend kernel layouts math sequences system
-tools.deploy.backend tools.deploy.config.editor ;
+USING: accessors arrays bootstrap.image io.backend
+io.directories io.files.info io.files.temp io.launcher kernel
+layouts math namespaces sequences system tools.deploy.backend
+tools.deploy.config.editor tools.test ;
 IN: tools.deploy.test
 
 : test-image ( -- str )
@@ -11,11 +11,15 @@ IN: tools.deploy.test
     test-image temp-file ;
 
 : shake-and-bake ( vocab -- )
-    test-image-path ?delete-file
-    [
-        [ vm-path test-image temp-file ] dip
-        dup deploy-config make-deploy-image drop
-    ] with-resource-directory ;
+    long-unit-tests-enabled? get [
+        test-image-path ?delete-file
+        [
+            [ vm-path test-image temp-file ] dip
+            dup deploy-config make-deploy-image drop
+        ] with-resource-directory
+    ] [
+        drop
+    ] if ;
 
 ERROR: image-too-big actual-size max-size ;