diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-05-24 20:54:12 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-05-24 20:54:12 -0700 |
commit | d1179723a9bc8e02a91d740040bbcf86bff384e1 (patch) | |
tree | 01a3051dd22f271270e628e555255bcef83a66f1 /test_apps | |
parent | 4d14c3fefd8362512e8e75d5051f7a7b709b483f (diff) | |
download | mu-d1179723a9bc8e02a91d740040bbcf86bff384e1.tar.gz |
6394 - a catastrophic bug
How did new-literal ever work?! Somehow we had eax silently being clobbered without affecting behavior over like 5 apps. Unsafe languages suck. Anyways, factorial.mu is now part of CI.
Diffstat (limited to 'test_apps')
-rwxr-xr-x | test_apps | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test_apps b/test_apps index b2d10472..c6b1f3f2 100755 --- a/test_apps +++ b/test_apps @@ -395,4 +395,17 @@ test $NATIVE && { test $ret -eq 55 } +echo factorial.mu +./translate_mu apps/factorial.mu +test $EMULATED && { + ./bootstrap run a.elf || ret=$? + test $ret -eq 120 + ./bootstrap run a.elf test +} +test $NATIVE && { + ./a.elf || ret=$? + test $ret -eq 120 + ./a.elf test +} + exit 0 |