Minor enhancement in test25 and test26
This commit is contained in:
parent
00df8e2158
commit
06a29d2132
|
@ -1 +1,4 @@
|
|||
echo "hello world"
|
||||
#! kaem doesn't support shebangs
|
||||
# but it does allow # line comments
|
||||
echo "hello" \
|
||||
"world" # and \ line escapes
|
||||
|
|
|
@ -65,7 +65,7 @@ then
|
|||
[ "$out" = "Slow_Lisp 0.1" ] || exit 6
|
||||
|
||||
# Verify that the resulting file works
|
||||
out=$(echo "(* 2 3 7)" | ./test/results/test26-armv7l-binary)
|
||||
out=$(./test/results/test26-armv7l-binary --file test/test26/test.scm)
|
||||
[ "$out" = "42" ] || exit 7
|
||||
fi
|
||||
exit 0
|
||||
|
|
|
@ -65,7 +65,7 @@ then
|
|||
[ "$out" = "Slow_Lisp 0.1" ] || exit 6
|
||||
|
||||
# Verify that the resulting file works
|
||||
out=$(echo "(* 2 3 7)" | ./test/results/test26-x86-binary)
|
||||
out=$(./test/results/test26-x86-binary --file test/test26/test.scm)
|
||||
[ "$out" = "42" ] || exit 7
|
||||
fi
|
||||
exit 0
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
;; A basic test of Slow lisp
|
||||
;; to ensure it works
|
||||
(* 2
|
||||
3
|
||||
7)
|
||||
(HALT)
|
Loading…
Reference in New Issue