mason.child: fix test in a better way.

db4
Doug Coleman 2015-06-10 19:56:11 -07:00
parent 5f8baad617
commit 59ba0ef341
1 changed files with 6 additions and 16 deletions

View File

@ -18,22 +18,12 @@ IN: mason.child.tests
! Must be an absolute path on Windows because launch directory
! is relative to parent directory (instead of current directory).
os windows = [
{ t } [
{ t } [
H{
{ target-os windows }
{ target-cpu x86.32 }
} [ mason-child-boot-cmd ] with-variables first absolute-path?
] unit-test
] [
[ { "./factor.com" "-i=boot.windows-x86.32.image" "-no-user-init" } ] [
H{
{ target-os windows }
{ target-cpu x86.32 }
} [ mason-child-boot-cmd ] with-variables
] unit-test
] if
] unit-test
[ [ "Hi" print ] [ drop 3 ] [ 4 ] recover-else ] must-infer