aboutsummaryrefslogtreecommitdiff
path: root/tests/malloc/check.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tests/malloc/check.mk')
-rw-r--r--tests/malloc/check.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/malloc/check.mk b/tests/malloc/check.mk
new file mode 100644
index 0000000..3a178cb
--- /dev/null
+++ b/tests/malloc/check.mk
@@ -0,0 +1,4 @@
+malloc: do-malloc
+ @grep 'BUG' reports/malloc/log \
+ && echo 'BUG' > reports/malloc/OK \
+ || tail -n1 reports/malloc/log | tr -d '\r' > reports/malloc/OK