]> Cypherpunks.ru repositories - goredo.git/blobdiff - t/apenwarr/110-compile/hello.o.do
Import tests from apenwarr/redo and redo.sh
[goredo.git] / t / apenwarr / 110-compile / hello.o.do
diff --git a/t/apenwarr/110-compile/hello.o.do b/t/apenwarr/110-compile/hello.o.do
new file mode 100644 (file)
index 0000000..7ab28a0
--- /dev/null
@@ -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