From 45a50ed7014525b9a08ee94bdecea27b9d697505 Mon Sep 17 00:00:00 2001 From: He Yin Ling Date: Tue, 10 Dec 2019 13:50:32 +0800 Subject: [PATCH] test: fix incorrect error type in xunit result --- tools/unit-test-app/unit_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/unit-test-app/unit_test.py b/tools/unit-test-app/unit_test.py index c6ed79b74..6028f6f80 100755 --- a/tools/unit-test-app/unit_test.py +++ b/tools/unit-test-app/unit_test.py @@ -223,7 +223,7 @@ def run_one_normal_case(dut, one_case, junit_test_case): err_msg = "Reset Check Failed: \r\n\tExpected: {}\r\n\tGet: {}".format(one_case["reset"], exception_reset_list) Utility.console_log(err_msg, color="orange") - junit_test_case.add_error_info(err_msg) + junit_test_case.add_failure_info(err_msg) one_case_finish(result) while not test_finish: