diff mbox series

[v2,6/8] mgmt-tester: Don't run tests which command fails

Message ID 20201104234228.2257427-6-luiz.dentz@gmail.com (mailing list archive)
State New, archived
Headers show
Series None | expand

Commit Message

Luiz Augusto von Dentz Nov. 4, 2020, 11:42 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This indicates that emulator don't support the test and until proper
support is added the test shall not be run.
---
 tools/mgmt-tester.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c
index a67860da4..f6eac30a5 100644
--- a/tools/mgmt-tester.c
+++ b/tools/mgmt-tester.c
@@ -6304,7 +6304,7 @@  static void command_generic_callback(uint8_t status, uint16_t length,
 			test->send_opcode, mgmt_errstr(status), status);
 
 	if (status != test->expect_status) {
-		tester_test_failed();
+		tester_test_abort();
 		return;
 	}