]> gitweb.factorcode.org Git - factor.git/commitdiff
mason.child: Up the codeheap size on Windows mason tests.
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 11 Apr 2020 04:31:56 +0000 (21:31 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 11 Apr 2020 04:31:56 +0000 (21:31 -0700)
extra/mason/child/child.factor

index 1d0574cf98debbbd00d397f3f62cf84454b43d6c..5df20adf41e869f1232de897b3b4308d72fc304b 100644 (file)
@@ -64,7 +64,12 @@ M: windows factor-path "./factor.com" ;
         try-process
     ] with-directory ;
 
-: mason-child-test-cmd ( -- cmd ) mason-child-vm "-run=mason.test" 2array ;
+: mason-child-test-cmd ( -- cmd )
+    [
+        mason-child-vm ,
+        os windows? [ "-codeheap=200" , ] when
+        "-run=mason.test" ,
+    ] { } make ;
 
 : test-mason-child ( -- )
     "factor" [