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:
Gabriel Ferreira
2023-05-29 23:54:11 -03:00
parent 458e3b15b4
commit 6241d3aa5f

View File

@@ -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)