diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-03-06 17:41:36 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-03-06 17:42:17 -0800 |
commit | 5c26afb1de61dc650f0f7523c92143747c960432 (patch) | |
tree | 22c00a6ba562cbd80e2432201399ee800c5247da /test_apps | |
parent | 0743b981a823049bfe0a24f9204e629ce375af39 (diff) | |
download | mu-5c26afb1de61dc650f0f7523c92143747c960432.tar.gz |
6088 - start using setCC instructions
Diffstat (limited to 'test_apps')
-rwxr-xr-x | test_apps | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test_apps b/test_apps index 1067f518..52cceeb7 100755 --- a/test_apps +++ b/test_apps @@ -167,6 +167,18 @@ test "$1" = 'record' || git diff --exit-code apps/ex12 test $EMULATED && ./bootstrap run apps/ex12 # final byte of mmap'd address is well-nigh guaranteed to be 0 test $NATIVE && apps/ex12 +echo ex13 +./bootstrap translate init.$OS apps/ex13.subx -o apps/ex13 +test "$1" = 'record' || git diff --exit-code apps/ex13 +test $EMULATED && { + ./bootstrap run apps/ex13 || ret=$? + test $ret -eq 1 # 3 == 3 +} +test $NATIVE && { + apps/ex13 || ret=$? + test $ret -eq 1 # 3 == 3 +} + # Larger apps that use the standard library. echo factorial |