From 7e9d63e33db9bd5a06596f257411d4dbe92295fb Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Thu, 11 May 2017 15:58:29 -0500 Subject: [PATCH] Gracefully handle test suites failing to load without exiting. --- src/xenia/cpu/ppc/testing/ppc_testing_main.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xenia/cpu/ppc/testing/ppc_testing_main.cc b/src/xenia/cpu/ppc/testing/ppc_testing_main.cc index f2c5d701d..bd2652c20 100644 --- a/src/xenia/cpu/ppc/testing/ppc_testing_main.cc +++ b/src/xenia/cpu/ppc/testing/ppc_testing_main.cc @@ -435,9 +435,10 @@ bool RunTests(const std::wstring& test_name) { test_suites.push_back(std::move(test_suite)); } if (load_failed) { - return false; + XELOGE("One or more test suites failed to load."); } + XELOGI("%d tests loaded.", (int)test_suites.size()); TestRunner runner; for (auto& test_suite : test_suites) { XELOGI("%ls.s:", test_suite.name.c_str());