Conversation
uspace and RTAI assign different component ids at component load-time. This test used to verify that the mb2hal component got a specific component id, which means it only worked on uspace, and always failed on RTAI. This commit makes the tests ignore the component ids, but still verify everything they actually care about.
|
This fixes the comp id issue with #2274 on RTAI. |
|
Yeah this looks good. Thank you for fixing my tests! 😇 |
|
@hansu well it looks like my fix is incomplete. These two builds are the current tip of 2.8 (9df9b64), which includes the comp_id/sed fix:
In both cases the test runs, but the output from mb2hal is truncated: The truncated output doesn't match the expected output (of course) so the test fails. Any input on this one? |
|
Aha! It leaves behind a core file from mb2hal... |
|
Here's the backtrace, in case that helps you identify the problem: It looks like |
|
Probably just because the host doest not have a I changed the test to use TCP, so let's see if that helps: #2455 |
uspace and RTAI assign different component ids at component load-time.
This test used to verify that the mb2hal component got a specific component id, which means it only worked on uspace, and always failed on RTAI.
This commit makes the tests ignore the component ids, but still verify everything they actually care about.