X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=t%2Fapenwarr%2F110-compile%2Fhello.o.do;fp=t%2Fapenwarr%2F110-compile%2Fhello.o.do;h=7ab28a01f90a70d7bed569c4d1e2e75b2fdb848c;hb=a6510ac6225a3a93df9d27dc316a3c1c0fcde426;hp=0000000000000000000000000000000000000000;hpb=a5111e179e5aca57420fd1cc95c1b21e7cd34226;p=goredo.git diff --git a/t/apenwarr/110-compile/hello.o.do b/t/apenwarr/110-compile/hello.o.do new file mode 100644 index 0000000..7ab28a0 --- /dev/null +++ b/t/apenwarr/110-compile/hello.o.do @@ -0,0 +1,11 @@ +# 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