t/110-compile and t/111-example: skip if no C compiler installed.
It's nice to validate "real" use with a C compiler, but silly to completely fail validation just because a C compiler is missing.
This commit is contained in:
parent
d0607d0091
commit
02220d4318
2 changed files with 12 additions and 2 deletions
|
|
@ -1 +1,6 @@
|
|||
redo-ifchange hello yellow bellow
|
||||
if type cc >/dev/null 2>&1; then
|
||||
redo-ifchange hello yellow bellow
|
||||
else
|
||||
echo "$0: No C compiler installed; skipping this test." >&2
|
||||
redo-ifcreate /usr/bin/cc
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue