test: update test-ns3.py to handle changes in python examples enablement
They are only enabled when both --enable-examples and --enable-python-bindings are passed.
This commit is contained in:
@@ -2337,7 +2337,7 @@ class NS3BuildBaseTestCase(NS3BaseTestCase):
|
|||||||
|
|
||||||
# First enable examples and static build
|
# First enable examples and static build
|
||||||
return_code, stdout, stderr = run_ns3(
|
return_code, stdout, stderr = run_ns3(
|
||||||
"configure -G \"{generator}\" --enable-python-bindings")
|
"configure -G \"{generator}\" --enable-examples --enable-python-bindings")
|
||||||
|
|
||||||
# If configuration passes, we are half way done
|
# If configuration passes, we are half way done
|
||||||
self.assertEqual(return_code, 0)
|
self.assertEqual(return_code, 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user