diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rwxr-xr-x | debugrun | bin | 0 -> 1865168 bytes | |||
| -rwxr-xr-x | shell/test.sh | 2 |
3 files changed, 3 insertions, 3 deletions
| @@ -15,7 +15,7 @@ debugnissy.o: | |||
| 15 | ${CC} ${MACROS} ${DBGFLAGS} -c -o debugnissy.o src/nissy.c | 15 | ${CC} ${MACROS} ${DBGFLAGS} -c -o debugnissy.o src/nissy.c |
| 16 | 16 | ||
| 17 | clean: | 17 | clean: |
| 18 | rm -rf *.o *.so run | 18 | rm -rf *.o *.so run debugrun |
| 19 | 19 | ||
| 20 | test: debugnissy.o | 20 | test: debugnissy.o |
| 21 | CC="${CC} ${MACROS} ${DBGFLAGS}" OBJ=debugnissy.o ./test/test.sh | 21 | CC="${CC} ${MACROS} ${DBGFLAGS}" OBJ=debugnissy.o ./test/test.sh |
| @@ -34,7 +34,7 @@ shell: nissy.o | |||
| 34 | 34 | ||
| 35 | debugshell: debugnissy.o | 35 | debugshell: debugnissy.o |
| 36 | mkdir -p tables | 36 | mkdir -p tables |
| 37 | ${CC} ${MACROS} ${DBGFLAGS} -o run debugnissy.o shell/shell.c | 37 | ${CC} ${MACROS} ${DBGFLAGS} -o debugrun debugnissy.o shell/shell.c |
| 38 | 38 | ||
| 39 | shelltest: debugshell | 39 | shelltest: debugshell |
| 40 | ./shell/test.sh | 40 | ./shell/test.sh |
diff --git a/debugrun b/debugrun new file mode 100755 index 0000000..bc982a6 --- /dev/null +++ b/debugrun | |||
| Binary files differ | |||
diff --git a/shell/test.sh b/shell/test.sh index de888ef..8bc4589 100755 --- a/shell/test.sh +++ b/shell/test.sh | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | SHELLBIN="./run" | 3 | SHELLBIN="./debugrun" |
| 4 | TESTDIR="./shell/testcases" | 4 | TESTDIR="./shell/testcases" |
| 5 | TESTOUT="shell/lasttest.out" | 5 | TESTOUT="shell/lasttest.out" |
| 6 | TESTERR="shell/lasttest.err" | 6 | TESTERR="shell/lasttest.err" |
