Fix a typo in the WAF scripts; don't access m_linktask directly, use the get_target_name() method instead (to make it work with waf trunk).
This commit is contained in:
@@ -13,8 +13,7 @@ def build(bld):
|
||||
env = bld.env_of_name('default')
|
||||
|
||||
unit_tests = bld.create_ns3_program('run-tests', ['common'])
|
||||
unit_tests.install_var = 0 # do not install
|
||||
unit_tests.unit_test = 1 # runs on 'waf check'
|
||||
unit_tests.inst_var = 0 # do not install
|
||||
unit_tests.source = 'run-tests.cc'
|
||||
## link unit test program with all ns3 modules
|
||||
unit_tests.uselib_local = 'ns3'
|
||||
|
||||
Reference in New Issue
Block a user