From 4abb81c230bfcd599ccceb2b1bcbdcadbd859537 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 11 Jul 2024 15:18:16 +0200 Subject: Cleanup makefile and tools --- test/test.sh | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'test') diff --git a/test/test.sh b/test/test.sh index 8e50cf5..33613b1 100755 --- a/test/test.sh +++ b/test/test.sh @@ -1,19 +1,7 @@ #!/bin/sh -detectsan() { - cc -fsanitize=$1 -dM -E -x c - /dev/null \ - | grep "SANITIZE" -} - re="${TEST:-$@}" -CC="cc -DDEBUG -std=c99 -pedantic -Wall -Wextra \ - -Wno-unused-parameter -Wno-unused-function -g3 -D$CUBETYPE" - -[ "$CUBETYPE" = "CUBE_AVX2" ] && CC="$CC -mavx2" -[ -n "$(detectsan address)" ] && CC="$CC -fsanitize=address" -[ -n "$(detectsan undefined)" ] && CC="$CC -fsanitize=undefined" - TESTBIN="test/run" TESTOUT="test/last.out" TESTERR="test/last.err" -- cgit v1.3