commit | 5605591cc183c5d31e0e8dd17ffea9c1432118fd | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Fri Mar 01 14:26:30 2019 +0100 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Wed Sep 11 15:46:44 2019 +0200 |
tree | 0d6bc6289d168f338986107ed3e3192ab87e29d8 | |
parent | 18c7b9fdaa6910460b3173ef080286fa6bf4aab1 [diff] [blame] |
Report step number when a test case fails Allow test code to declare a "step number". Report the current step number when a test fails.
diff --git a/tests/suites/target_test.function b/tests/suites/target_test.function index 91f7198..937e8dd 100644 --- a/tests/suites/target_test.function +++ b/tests/suites/target_test.function
@@ -375,6 +375,7 @@ { ret = 0; test_info.result = TEST_RESULT_SUCCESS; + test_info.step = (unsigned long)( -1 ); data_len = 0; data = receive_data( &data_len );