apenwarr-redo/t/110-compile/hello.o.do
Avery Pennarun c1054a5902 t/110-compile: remove hard dependency on /usr/include/stdio.h.
This was testing source files outside the current build tree, but if
you don't have the file at all, that's not a good reason to fail the
test.
2020-06-15 00:33:41 -04:00

11 lines
353 B
Text

# This test is meant to confirm some basic redo functionality
# related to static files not in the build tree. But if your
# system doesn't happen to have stdio.h in the usual location,
# let's not explode just for that.
stdio=/usr/include/stdio.h
[ -e "$stdio" ] || stdio=
redo-ifchange CC hello.c $stdio
redo-ifcreate stdio.h
../sleep 3
./CC hello.c