aboutsummaryrefslogtreecommitdiff
path: root/test/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.sh')
-rwxr-xr-xtest/test.sh8
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
3CC="cc -DDEBUG -std=c99 -pthread -pedantic -Wall -Wextra \ 3CC="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"
5if [ $(uname) != "OpenBSD" ]; then 5if [ "$CUBETYPE" = "CUBE_AVX2" ]; then
6 CC="$CC -mavx2"
7fi
8if [ "$(uname)" != "OpenBSD" ]; then
6 CC="$CC -fsanitize=address -fsanitize=undefined" 9 CC="$CC -fsanitize=address -fsanitize=undefined"
7fi 10fi
11
8TESTBIN="test/run" 12TESTBIN="test/run"
9TESTOUT="test/last.out" 13TESTOUT="test/last.out"
10TESTERR="test/last.err" 14TESTERR="test/last.err"

Generated with cgit - Back to sebastiano.tronto.net