From d1179723a9bc8e02a91d740040bbcf86bff384e1 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 24 May 2020 20:54:12 -0700 Subject: 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. --- test_apps | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test_apps') 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 -- cgit 1.4.1-2-gfad0