diff tests/hghave @ 18229:77d06793a20d

tests: make hghave and run-tests exit on unknown feature requirements
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 07 Jan 2013 02:00:43 +0100
parents 23f621ca04b5
children 05b3238ba901
line wrap: on
line diff
--- a/tests/hghave	Mon Jan 07 02:00:43 2013 +0100
+++ b/tests/hghave	Mon Jan 07 02:00:43 2013 +0100
@@ -59,7 +59,7 @@
 
         if feature not in checks:
             error('skipped: unknown feature: ' + feature)
-            continue
+            sys.exit(2)
 
         check, desc = checks[feature]
         try: