diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-11-03 23:13:05 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-11-03 23:26:29 +0100 |
| commit | ade2ed050a2d472b4dd01e30666f5e7ec5030724 (patch) | |
| tree | bab29caba8fb2171348fb664d6098eb77d155a53 /test/test.sh | |
| parent | 9b1c9371333e20611ec5422e660ebec7e66c4261 (diff) | |
| download | nissy-core-ade2ed050a2d472b4dd01e30666f5e7ec5030724.tar.gz nissy-core-ade2ed050a2d472b4dd01e30666f5e7ec5030724.zip | |
Moves work with avx2, fixed some stuff
Diffstat (limited to 'test/test.sh')
| -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" |
