apenwarr-redo/t/110-compile/all.do
Avery Pennarun 02220d4318 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.
2018-11-19 15:46:22 -05:00

6 lines
164 B
Text

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