Skip to content

Commit

Permalink
check CC environ and fallback to gcc
Browse files Browse the repository at this point in the history
Can be used in continious integration
  • Loading branch information
isidroas committed Oct 23, 2024
1 parent a7f90c6 commit 9a745ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unittest.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9a745ac

Please sign in to comment.