Handle extra relative paths for ns3tcp and ns3wifi modules
This commit is contained in:
1 parent
6ff23559dc
commit
010f3f481d
3 files changed
+10
-8
No files matched your search
@@ -286,6 +286,14 @@ def build(bld):
|
||||
|
||||
# Remove these modules from the list of all modules.
|
||||
for not_built in bld.env['MODULES_NOT_BUILT']:
|
||||
|
||||
# XXX Becaue these modules are located in subdirectories of
|
||||
# test, their names in the all_modules list include the extra
|
||||
# relative path "test/". If these modules are moved into the
|
||||
# src directory, then this if block should be removed.
|
||||
if not_built == 'ns3tcp' or not_built == 'ns3wifi':
|
||||
not_built = 'test/' + not_built
|
||||
|
||||
if not_built in all_modules:
|
||||
all_modules.remove(not_built)
|
||||
|
||||
|
||||
Reference in new issue
Block a user