test-run-tests: add tests for "#if no-false" and no-true
authorAdrian Buehlmann <adrian@cadifra.com>
Mon, 11 Jun 2012 14:09:35 +0200
changeset 16914 2030dec7c8fa
parent 16913 f2719b387380
child 16915 ccebe526d321
test-run-tests: add tests for "#if no-false" and no-true
tests/test-run-tests.t
--- a/tests/test-run-tests.t	Mon Jun 11 01:40:51 2012 +0200
+++ b/tests/test-run-tests.t	Mon Jun 11 14:09:35 2012 +0200
@@ -79,6 +79,20 @@
   tested
 #endif
 
+#if no-false
+  $ echo tested
+  tested
+#else
+  $ echo skipped
+#endif
+
+#if no-true
+  $ echo skipped
+#else
+  $ echo tested
+  tested
+#endif
+
 Exit code:
 
   $ (exit 1)