tests/test-run-tests.t
changeset 16842 a3ea092203a5
parent 16014 f8955a7f82e6
child 16891 b0e8afdfa970
--- a/tests/test-run-tests.t	Wed May 30 14:28:57 2012 +0200
+++ b/tests/test-run-tests.t	Fri Jun 01 02:25:12 2012 +0200
@@ -52,6 +52,15 @@
   $ echo 'foo (re)'
   foo (re)
 
+Conditional sections based on hghave:
+
+#if fifo no-fifo
+  $ echo skipped
+#else
+  $ echo tested
+  tested
+#endif
+
 Exit code:
 
   $ (exit 1)