make sure we run the pybindgen command in --check and --regression
This commit is contained in:
@@ -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
|
||||
|
||||
2
wscript
2
wscript
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user