test: Filter examples-to-run.py examples by name, and allow custom arguments

This commit is contained in:
Gabriel Ferreira
2025-04-25 13:34:24 +02:00
parent 9fdd151ba8
commit b8f5dbcab1
2 changed files with 59 additions and 43 deletions

View File

@@ -100,6 +100,9 @@ def main(argv):
"--html=t_opt.html && rm t_opt.html",
"-x t_opt.xml && rm t_opt.xml",
"--xml=t_opt.xml && rm t_opt.xml",
"--example=wifi-phy-configuration",
"--example=wifi-phy-configuration*",
'--example="wifi-phy-configuration --testCase=0"',
]
configure_string = sys.executable + " ns3 configure --enable-tests --enable-examples"