summaryrefslogtreecommitdiff
path: root/testsuite/tests/afl-instrumentation/Makefile
diff options
context:
space:
mode:
authorStephen Dolan <stephen.dolan@cl.cam.ac.uk>2017-09-22 17:29:26 +0100
committerStephen Dolan <stephen.dolan@cl.cam.ac.uk>2017-10-05 16:56:11 +0100
commitb5c9755f9c8af7bb785201c696e7ac3dd7b130b0 (patch)
treee36870eb6f6c802922d59d99cc9005523e181567 /testsuite/tests/afl-instrumentation/Makefile
parent7ed63d4ff3990dd9b699290b3b0243847202a5c6 (diff)
downloadocaml-b5c9755f9c8af7bb785201c696e7ac3dd7b130b0.tar.gz
Add tests and Changes entry for afl-fuzz classes fix.
Diffstat (limited to 'testsuite/tests/afl-instrumentation/Makefile')
-rw-r--r--testsuite/tests/afl-instrumentation/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/afl-instrumentation/Makefile b/testsuite/tests/afl-instrumentation/Makefile
new file mode 100644
index 0000000000..b741d5acc6
--- /dev/null
+++ b/testsuite/tests/afl-instrumentation/Makefile
@@ -0,0 +1,15 @@
+BASEDIR=../..
+
+default:
+ @printf " ... testing 'afl_instrumentation':"
+ @if ! which afl-showmap > /dev/null; then \
+ echo " => skipped (afl-showmap unavailable)"; \
+ else \
+ if OCAMLOPT='$(OCAMLOPT)' ./test.sh > /dev/null; then \
+ echo " => passed"; \
+ else \
+ echo " => failed"; \
+ fi \
+ fi
+
+include $(BASEDIR)/makefiles/Makefile.common