test.py
changeset 6243 a597d6d2da85
parent 6227 38a3d54b5742
child 6247 ab7f2498373a
--- a/test.py	Sat Apr 17 12:02:53 2010 +0200
+++ b/test.py	Sat Apr 17 17:36:53 2010 +0100
@@ -45,6 +45,7 @@
     "ENABLE_NSC",
     "ENABLE_REAL_TIME",
     "ENABLE_EXAMPLES",
+    "ENABLE_PYTHON_BINDINGS",
 ]
 
 ENABLE_NSC = False
@@ -1313,7 +1314,7 @@
     #
     if len(options.suite) == 0 and len(options.example) == 0 and len(options.pyexample) == 0:
         if len(options.constrain) == 0 or options.constrain == "pyexample":
-            if ENABLE_EXAMPLES:
+            if ENABLE_EXAMPLES and ENABLE_PYTHON_BINDINGS:
                 for test, do_run in python_tests:
                     if eval(do_run):
                         job = Job()