aboutsummaryrefslogtreecommitdiff
path: root/tests/hello-world/check.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hello-world/check.mk')
-rw-r--r--tests/hello-world/check.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/hello-world/check.mk b/tests/hello-world/check.mk
new file mode 100644
index 0000000..7fbabc9
--- /dev/null
+++ b/tests/hello-world/check.mk
@@ -0,0 +1,5 @@
+REPORT := reports/hello-world
+hello-world: do-hello-world
+ @grep 'Hello, world!' $(REPORT)/log > /dev/null \
+ && echo "OK" > $(REPORT)/OK \
+ || echo "ERR" > $(REPORT)/ERR