diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-10-22 23:34:53 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-10-22 23:43:36 +0200 |
| commit | b3622e04dfb8317b745f8c911d31dc80bc2f9d66 (patch) | |
| tree | 825e54d062667a6cb76ff36730a8e36444fa20ba /test/test.sh | |
| parent | 4a7e2dccaa54bc42a4b67cf35cf8b926cf357bb3 (diff) | |
| download | nissy-core-b3622e04dfb8317b745f8c911d31dc80bc2f9d66.tar.gz nissy-core-b3622e04dfb8317b745f8c911d31dc80bc2f9d66.zip | |
Preparatory work for benchmarks, little fixes
Diffstat (limited to 'test/test.sh')
| -rwxr-xr-x | test/test.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/test.sh b/test/test.sh index 00dd5ce..9e064b2 100755 --- a/test/test.sh +++ b/test/test.sh | |||
| @@ -5,13 +5,10 @@ CC="cc -DDEBUG -std=c99 -pthread -pedantic -Wall -Wextra \ | |||
| 5 | if [ $(uname) != "OpenBSD" ]; then | 5 | if [ $(uname) != "OpenBSD" ]; then |
| 6 | CC="$CC -fsanitize=address -fsanitize=undefined" | 6 | CC="$CC -fsanitize=address -fsanitize=undefined" |
| 7 | fi | 7 | fi |
| 8 | SRC="src/cube.c" | ||
| 9 | TESTBIN="test/run" | 8 | TESTBIN="test/run" |
| 10 | TESTOUT="test/last.out" | 9 | TESTOUT="test/last.out" |
| 11 | TESTERR="test/last.err" | 10 | TESTERR="test/last.err" |
| 12 | CUBEOBJ="test/cube.o" | 11 | CUBEOBJ="debugcube.o" |
| 13 | |||
| 14 | $CC -c $SRC -o $CUBEOBJ || exit 1 | ||
| 15 | 12 | ||
| 16 | for t in test/*; do | 13 | for t in test/*; do |
| 17 | if [ ! -d $t ]; then continue; fi | 14 | if [ ! -d $t ]; then continue; fi |
