mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 23:09:05 +08:00
Tools/HIL/run_nsh_cmd.py: fail if ERROR printed in output
This commit is contained in:
parent
2f99857b0a
commit
65b1a9648d
@ -796,7 +796,7 @@ int uORBTest::UnitTest::test_SubscriptionMulti()
|
||||
|
||||
if (sub.get_last_generation() != last_gen + 1) {
|
||||
//return test_fail("sub %d generation should be %d + 1, but it's %d", sub_instance, last_gen, sub.get_last_generation());
|
||||
PX4_ERR("sub %d generation should be %d + 1, but it's %d", sub_instance, last_gen, sub.get_last_generation());
|
||||
PX4_WARN("sub %d generation should be %d + 1, but it's %d", sub_instance, last_gen, sub.get_last_generation());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user