make sure we run the pybindgen command in --check and --regression

This commit is contained in:
Gustavo J. A. M. Carneiro
2009-09-16 14:26:46 +01:00
parent ffbf0e4221
commit c3faf85ce2
2 changed files with 2 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ class regression_test_task(Task.TaskBase):
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

View File

@@ -569,7 +569,7 @@ def build(bld):
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: