Getting closer to tracking down the member bug, but cannot use debugger on laptop screen.
This commit is contained in:
parent
d42ece5711
commit
de50a30be2
11 changed files with 89 additions and 55 deletions
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
result=0
|
||||
|
||||
echo -n "$0: let with two bindings, one form in body..."
|
||||
expected='11'
|
||||
actual=`echo "(let ((a . 5)(b . 6)) (+ a b))" | target/psse 2>/dev/null | tail -1`
|
||||
actual=`echo "(let ((a . 5)(b . 6)) (+ a b))" | target/psse | tail -1`
|
||||
echo -n "$0: let with two bindings, one form in body... "
|
||||
|
||||
if [ "${expected}" = "${actual}" ]
|
||||
then
|
||||
|
|
@ -14,9 +14,9 @@ else
|
|||
result=`echo "${result} + 1" | bc`
|
||||
fi
|
||||
|
||||
echo -n "$0: let with two bindings, two forms in body..."
|
||||
expected='1'
|
||||
actual=`echo "(let ((a . 5)(b . 6)) (+ a b) (- b a))" | target/psse 2>/dev/null | tail -1`
|
||||
actual=`echo "(let ((a . 5)(b . 6)) (+ a b) (- b a))" | target/psse | tail -1`
|
||||
echo -n "$0: let with two bindings, two forms in body..."
|
||||
|
||||
if [ "${expected}" = "${actual}" ]
|
||||
then
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ result=0
|
|||
|
||||
echo -n "$0: progn with one form... "
|
||||
expected='5'
|
||||
actual=`echo "(progn (add 2 3))" | target/psse 2>/dev/null | tail -1`
|
||||
actual=`echo "(progn (add 2 3))" | target/psse | tail -1`
|
||||
|
||||
if [ "${expected}" = "${actual}" ]
|
||||
then
|
||||
|
|
@ -16,7 +16,7 @@ fi
|
|||
|
||||
echo -n "$0: progn with two forms... "
|
||||
expected='"foo"'
|
||||
actual=`echo "(progn (add 2.5 3) \"foo\")" | target/psse 2>/dev/null | tail -1`
|
||||
actual=`echo "(progn (add 2.5 3) \"foo\")" | target/psse | tail -1`
|
||||
|
||||
if [ "${expected}" = "${actual}" ]
|
||||
then
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
expected='nil 3,628,800'
|
||||
output=`target/psse 2>/dev/null <<EOF
|
||||
output=`target/psse <<EOF
|
||||
(progn
|
||||
(set! fact
|
||||
(lambda (n)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue