diff options
Diffstat (limited to '')
| -rwxr-xr-x | test/test.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh index 9e064b2..1ee972d 100755 --- a/test/test.sh +++ b/test/test.sh | |||
| @@ -1,10 +1,14 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | CC="cc -DDEBUG -std=c99 -pthread -pedantic -Wall -Wextra \ | 3 | CC="cc -DDEBUG -std=c99 -pthread -pedantic -Wall -Wextra \ |
| 4 | -Wno-unused-parameter -Wno-unused-function -g3" | 4 | -Wno-unused-parameter -Wno-unused-function -g3 -D$CUBETYPE" |
| 5 | if [ $(uname) != "OpenBSD" ]; then | 5 | if [ "$CUBETYPE" = "CUBE_AVX2" ]; then |
| 6 | CC="$CC -mavx2" | ||
| 7 | fi | ||
| 8 | if [ "$(uname)" != "OpenBSD" ]; then | ||
| 6 | CC="$CC -fsanitize=address -fsanitize=undefined" | 9 | CC="$CC -fsanitize=address -fsanitize=undefined" |
| 7 | fi | 10 | fi |
| 11 | |||
| 8 | TESTBIN="test/run" | 12 | TESTBIN="test/run" |
| 9 | TESTOUT="test/last.out" | 13 | TESTOUT="test/last.out" |
| 10 | TESTERR="test/last.err" | 14 | TESTERR="test/last.err" |
