aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-10-15 20:06:04 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-10-15 20:06:04 +0200
commit7c994d0ee99d8b69bf958f1559db3a294f459e3e (patch)
treed3232b0e1abe902eae2549c64b97a83bb62924cb
parent9198aede8761d6573f2ec3739b48e86f83947b56 (diff)
downloadnissy-core-7c994d0ee99d8b69bf958f1559db3a294f459e3e.tar.gz
nissy-core-7c994d0ee99d8b69bf958f1559db3a294f459e3e.zip
Rename debug shell executable
-rw-r--r--Makefile4
-rwxr-xr-xdebugrunbin0 -> 1865168 bytes
-rwxr-xr-xshell/test.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c41921a..025fdb5 100644
--- a/Makefile
+++ b/Makefile
@@ -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
17clean: 17clean:
18 rm -rf *.o *.so run 18 rm -rf *.o *.so run debugrun
19 19
20test: debugnissy.o 20test: 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
35debugshell: debugnissy.o 35debugshell: 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
39shelltest: debugshell 39shelltest: 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
3SHELLBIN="./run" 3SHELLBIN="./debugrun"
4TESTDIR="./shell/testcases" 4TESTDIR="./shell/testcases"
5TESTOUT="shell/lasttest.out" 5TESTOUT="shell/lasttest.out"
6TESTERR="shell/lasttest.err" 6TESTERR="shell/lasttest.err"

Generated with cgit - Back to sebastiano.tronto.net