Commits

camlspotter committed 1f0ff49

selftest

  • Participants
  • Parent commits 0274364
  • Branches dev

Comments (0)

Files changed (1)

 
 test: result.diff
 
+SELFTESTS=$(glob *.ml *.mli)
+selftest_out(file) = 
+    return $(addprefix self_tests_out/, $(file))
+
+SELFTESTS_OUT=$(selftest_out $(TESTS))
+
+.PHONY: selftest
+selftest: $(SELFTESTS_OUT)
+
 #|ditto.
 mkdir_if_not_exists(dir) =
   if $(not $(test -e $(dir))):