mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-30 08:03:59 +00:00
a450110b97
So far, this test used dynamic_rom for the re-configuration of the nic router and tested for the expected ping results by inspecting the log with the run tool. However, this approach had two issues: * Timing differs significantly on different targets and so the dynamic_rom had the difficult task of compensating with heuristics without bloating the test duration too much. * In case of a failing test, it was difficult to determine the cause as the test kept running and produced output for quite some time and there was also no specific error message but only a generic timeout. These two issues are now fixed by introducing a test component that listens to the ping-result report and manages the nic router configuration. The new component exits early on failure and provides information on the error circumstances. Furthermore, the component advances to the next test step only after having seen the expected result of the active test step and thereby removes the need for heuristics about target timing. Fixes #5192