From 9a745ac287cf78596c8e11e72a938dda9168f957 Mon Sep 17 00:00:00 2001 From: Isidro Arias Date: Wed, 23 Oct 2024 16:12:53 +0200 Subject: [PATCH] check CC environ and fallback to gcc Can be used in continious integration --- tests/unittest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unittest.sh b/tests/unittest.sh index c070d68..2c6f587 100755 --- a/tests/unittest.sh +++ b/tests/unittest.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -CC="gcc -Wall" +CC="${CC:-gcc} -Wall" $CC ../ini.c unittest.c -o unittest_multi ./unittest_multi > baseline_multi.txt