]> rtime.felk.cvut.cz Git - omk.git/blobdiff - tests/hooks/runtest
Added support for pass hooks in Makefile.omk
[omk.git] / tests / hooks / runtest
diff --git a/tests/hooks/runtest b/tests/hooks/runtest
new file mode 100755 (executable)
index 0000000..07f6498
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+source ../functions.sh
+
+make|tee make.log
+
+grep -q "include-pass-hook executed" make.log||error "include-pass-hook didn't execute"
+grep -q "library-pass-hook executed" make.log||error "library-pass-hook didn't execute"
+grep -q  "binary-pass-hook executed" make.log||error  "binary-pass-hook didn't execute"