aboutsummaryrefslogtreecommitdiff
path: root/test/test.sh
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-11-03 23:13:05 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-11-03 23:26:29 +0100
commitade2ed050a2d472b4dd01e30666f5e7ec5030724 (patch)
treebab29caba8fb2171348fb664d6098eb77d155a53 /test/test.sh
parent9b1c9371333e20611ec5422e660ebec7e66c4261 (diff)
downloadnissy-core-ade2ed050a2d472b4dd01e30666f5e7ec5030724.tar.gz
nissy-core-ade2ed050a2d472b4dd01e30666f5e7ec5030724.zip
Moves work with avx2, fixed some stuff
Diffstat (limited to '')
-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