make sure we run the pybindgen command in --check and --regression
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Wed, 16 Sep 2009 14:26:46 +0100
changeset 5201 c831e91e57f9
parent 5200 3e8818c7a50e
child 5202 53bee26fce31
make sure we run the pybindgen command in --check and --regression
regression.py
wscript
--- a/regression.py	Wed Sep 16 14:04:53 2009 +0100
+++ b/regression.py	Wed Sep 16 14:26:46 2009 +0100
@@ -112,7 +112,7 @@
         if not reason_cannot_run:
             pyscript = getattr(mod, "pyscript", None)
             if pyscript:
-                Options.options.compile_targets += ',ns3module'
+                Options.options.compile_targets += ',ns3module,pybindgen-command'
             else:
                 program = getattr(mod, "program", short_name)
                 Options.options.compile_targets += ',' + program
--- a/wscript	Wed Sep 16 14:04:53 2009 +0100
+++ b/wscript	Wed Sep 16 14:26:46 2009 +0100
@@ -569,7 +569,7 @@
     if Options.options.check:
         Options.options.compile_targets += ',run-tests'
         if env['ENABLE_PYTHON_BINDINGS']:
-            Options.options.compile_targets += ',ns3module'
+            Options.options.compile_targets += ',ns3module,pybindgen-command'
         _run_check(bld)
 
     if Options.options.doxygen_no_build: