From 2ec81876eb59bb3e7c544774aa222988c1f574c4 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 10 Jun 2024 22:43:34 +0200 Subject: Fix build errors on OpenBSD --- test/test.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/test.sh') diff --git a/test/test.sh b/test/test.sh index 3adee3a..8e50cf5 100755 --- a/test/test.sh +++ b/test/test.sh @@ -1,6 +1,9 @@ #!/bin/sh -detectsan() { cc -fsanitize=$1 -dM -E -x c - /dev/null \ + | grep "SANITIZE" +} re="${TEST:-$@}" -- cgit v1.3