2008-09-16 00:20:33 -04:00
|
|
|
IN: mason.child.tests
|
2011-07-29 01:57:14 -04:00
|
|
|
USING: mason.child mason.config tools.test namespaces io kernel
|
|
|
|
sequences system ;
|
2008-09-16 00:20:33 -04:00
|
|
|
|
2010-04-08 19:40:51 -04:00
|
|
|
[ { "nmake" "/f" "nmakefile" "x86-32" } ] [
|
2008-09-16 00:20:33 -04:00
|
|
|
[
|
2011-07-29 01:57:14 -04:00
|
|
|
winnt target-os set
|
|
|
|
x86.32 target-cpu set
|
2008-09-16 00:20:33 -04:00
|
|
|
make-cmd
|
|
|
|
] with-scope
|
|
|
|
] unit-test
|
|
|
|
|
2008-11-17 21:28:52 -05:00
|
|
|
[ { "make" "macosx-x86-32" } ] [
|
2008-09-16 00:20:33 -04:00
|
|
|
[
|
2011-07-29 01:57:14 -04:00
|
|
|
macosx target-os set
|
|
|
|
x86.32 target-cpu set
|
2008-09-16 00:20:33 -04:00
|
|
|
make-cmd
|
|
|
|
] with-scope
|
|
|
|
] unit-test
|
|
|
|
|
2010-04-04 12:20:56 -04:00
|
|
|
[ { "./factor.com" "-i=boot.winnt-x86.32.image" "-no-user-init" } ] [
|
2009-04-03 17:30:59 -04:00
|
|
|
[
|
2011-07-29 01:57:14 -04:00
|
|
|
winnt target-os set
|
|
|
|
x86.32 target-cpu set
|
2009-04-03 17:30:59 -04:00
|
|
|
boot-cmd
|
|
|
|
] with-scope
|
|
|
|
] unit-test
|
2009-04-17 21:59:59 -04:00
|
|
|
|
|
|
|
[ [ "Hi" print ] [ drop 3 ] [ 4 ] recover-else ] must-infer
|
|
|
|
|
|
|
|
[ 4 ] [ [ "Hi" print ] [ drop 3 ] [ 4 ] recover-else ] unit-test
|
|
|
|
|
|
|
|
[ 3 ] [ [ "Hi" throw ] [ drop 3 ] [ 4 ] recover-else ] unit-test
|
|
|
|
|
|
|
|
[ "A" ] [
|
|
|
|
{
|
|
|
|
{ [ 3 throw ] [ { "X" "Y" "Z" "A" } nth ] }
|
|
|
|
[ "B" ]
|
|
|
|
} recover-cond
|
|
|
|
] unit-test
|
|
|
|
|
|
|
|
[ "B" ] [
|
|
|
|
{
|
|
|
|
{ [ ] [ ] }
|
|
|
|
[ "B" ]
|
|
|
|
} recover-cond
|
2011-07-29 01:57:14 -04:00
|
|
|
] unit-test
|