# HG changeset patch # User Adrian Buehlmann # Date 1339416575 -7200 # Node ID 2030dec7c8fa8d22e98cc878921cb4f0a87cb58d # Parent f2719b38738074324c2d2d81be481f05c7e431cb test-run-tests: add tests for "#if no-false" and no-true diff -r f2719b387380 -r 2030dec7c8fa 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)