[PATCH] test-run-tests: add tests for "#if no-false" and no-true

Adrian Buehlmann adrian at cadifra.com
Mon Jun 11 07:11:01 CDT 2012


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1339416575 -7200
# Node ID aaff80bc792031c7f3958be8acdae0e841e094fa
# Parent  3a52aa6b02a410d9be68fef3f259a89644389296
test-run-tests: add tests for "#if no-false" and no-true

diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t
--- a/tests/test-run-tests.t
+++ b/tests/test-run-tests.t
@@ -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) 


More information about the Mercurial-devel mailing list