From c25d9aa42a7d3ea142ca8cb3887030866ac32a6f Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 10 Oct 2018 23:39:50 -0700 Subject: 4684 Turns out the tests for 'trace' have been broken in native mode since the original commit (4674). Dangers of running my tests on Darwin, where I can't run them natively. The test failures didn't get flagged on CI because I'd forgotten to update the exit code of the factorial app in commit 4664. At least that's fixed in this commit. --- subx/test_apps | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'subx/test_apps') diff --git a/subx/test_apps b/subx/test_apps index 8f00e538..a8060016 100755 --- a/subx/test_apps +++ b/subx/test_apps @@ -115,7 +115,11 @@ echo ex11 CFLAGS=-g ./subx translate examples/ex11.subx -o examples/ex11 test `uname -m` = 'i686' && git diff --quiet examples/ex11 CFLAGS=-g ./subx run examples/ex11 -test `uname` = 'Linux' && examples/ex11 +echo +test `uname` = 'Linux' && { + examples/ex11 + echo +} echo ex12 CFLAGS=-g ./subx translate examples/ex12.subx -o examples/ex12 @@ -129,10 +133,12 @@ test `uname -m` = 'i686' && git diff --quiet apps/factorial CFLAGS=-g ./subx run apps/factorial || ret=$? test $ret -eq 120 # factorial(5) CFLAGS=-g ./subx run apps/factorial test +echo test `uname` = 'Linux' && { apps/factorial || ret=$? test $ret -eq 120 # factorial(5) apps/factorial test + echo } echo crenshaw2-1 -- cgit 1.4.1-2-gfad0