wscript
changeset 3429 2658cf81a5cd
parent 3419 8d3f5c0f55fa
child 3579 9e5eaef3e082
--- a/wscript	Wed Jul 16 10:46:51 2008 +0100
+++ b/wscript	Wed Jul 16 17:44:42 2008 +0100
@@ -456,8 +456,11 @@
     print "-- Running NS-3 C++ core unit tests..."
     run_program('run-tests', get_command_template())
 
-    print "-- Running NS-3 Python bindings unit tests..."
-    _run_argv([env['PYTHON'], os.path.join("utils", "python-unit-tests.py")], proc_env)
+    if env['ENABLE_PYTHON_BINDINGS']:
+        print "-- Running NS-3 Python bindings unit tests..."
+        _run_argv([env['PYTHON'], os.path.join("utils", "python-unit-tests.py")], proc_env)
+    else:
+        print "-- Skipping NS-3 Python bindings unit tests: Python bindings not enabled."
 
 
 def _find_program(program_name, env):