summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 21c1ad4d74..2198a7531f 100644
--- a/Makefile
+++ b/Makefile
@@ -367,6 +367,13 @@ installoptopt:
cd $(INSTALL_COMPLIBDIR) && $(RANLIB) ocamlcommon.a ocamlbytecomp.a \
ocamloptcomp.a
+# Run all tests
+
+tests: opt.opt
+ cd testsuite; $(MAKE) clean && $(MAKE) all
+
+# The clean target
+
clean:: partialclean
# Shared parts of the system