diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-11-17 20:45:15 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-11-17 20:45:15 -0800 |
commit | 95decf9f34b99c57a2ef200b6fcb3453e6582e32 (patch) | |
tree | fd6814fc42900e76e13a8d61553c7e47da05e8f9 /subx | |
parent | 11a5fffade1ddf3e1787506a46045001cab3f477 (diff) | |
download | mu-95decf9f34b99c57a2ef200b6fcb3453e6582e32.tar.gz |
4744
Diffstat (limited to 'subx')
-rwxr-xr-x | subx/test_apps | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/test_apps b/subx/test_apps index 7ee7809e..337b6866 100755 --- a/subx/test_apps +++ b/subx/test_apps @@ -128,7 +128,7 @@ test `uname` = 'Linux' && examples/ex12 echo factorial CFLAGS=-g ./subx translate *.subx apps/factorial.subx -o apps/factorial -git diff --quiet apps/factorial +[ "$1" != record ] && 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 @@ -142,7 +142,7 @@ test `uname` = 'Linux' && { echo crenshaw2-1 CFLAGS=-g ./subx translate *.subx apps/crenshaw2-1.subx -o apps/crenshaw2-1 -git diff --quiet apps/crenshaw2-1 +[ "$1" != record ] && git diff --quiet apps/crenshaw2-1 CFLAGS=-g ./subx run apps/crenshaw2-1 2>crenshaw2-1.out || true test "`cat crenshaw2-1.out`" = 'Error: integer expected' test `uname` = 'Linux' && { |