changeset 16914:2030dec7c8fa

test-run-tests: add tests for "#if no-false" and no-true
author Adrian Buehlmann <adrian@cadifra.com>
date Mon, 11 Jun 2012 14:09:35 +0200
parents f2719b387380
children ccebe526d321
files tests/test-run-tests.t
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)