From 4e8d63ace93a06cb416618714408ae1c41223812 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Mon, 29 Sep 2014 14:41:29 +0200 Subject: Added the -t CLI option This option makes tamasheq print any exception that escaped the eval function. Thus, instead of crashing, tamasheq will exit normally. This option is used in run_tests.sh when some of the tests do fail on purpose (see tests/AssertFalse.ml). --- tests/AssertFalse.ml | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/AssertFalse.ml (limited to 'tests/AssertFalse.ml') diff --git a/tests/AssertFalse.ml b/tests/AssertFalse.ml new file mode 100644 index 0000000..ff92592 --- /dev/null +++ b/tests/AssertFalse.ml @@ -0,0 +1 @@ +let x = assert false -- cgit v1.2.3-70-g09d2