I am working on creating the network test suite where the server IP varies every time I run the test-suite. Is there a way to change the value of server IP value in test-suite using environment variable like PRESET_OPTIONS? I was looking into <OverrideTestOptions> but couldn't find any example or documentation on how to use it.
Announcement
Collapse
No announcement yet.
Any example on how to use OverrideTestOptions on test-suite?
Collapse
X
-
What network tests are you trying? If you build suite first using "phoronix-test-suite build-suite" and select the tests and default IP address enter like 0.0.0.0, then you can simply sed/find-and-replace within the suite XML file each time to update IP address accordingly. Unfortunately no better way comes to mind at the moment. PRESET_OPTIONS can be used as well but is more involved for initial setup of the environment variable.Michael Larabel
https://www.michaellarabel.com/
Comment