run-tests: Correct logic for calculating number of skipped/xfail tests
Skipped tests were mistakenly being considered as expected failures.
This commit is contained in:
parent
f893e0820f
commit
ddbd77cca1
Notes:
sideshowbarker
2024-07-17 01:13:25 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/ddbd77cca1 Pull-request: https://github.com/SerenityOS/serenity/pull/20259
1 changed files with 2 additions and 2 deletions
|
@ -121,10 +121,10 @@ void TestRunner::do_run_single_test(DeprecatedString const& test_path, size_t cu
|
|||
++m_counts.tests_passed;
|
||||
break;
|
||||
case Test::Result::ExpectedFail:
|
||||
++m_counts.tests_passed;
|
||||
++m_counts.tests_expected_failed;
|
||||
break;
|
||||
case Test::Result::Skip:
|
||||
++m_counts.tests_expected_failed;
|
||||
++m_counts.tests_skipped;
|
||||
break;
|
||||
case Test::Result::Fail:
|
||||
++m_counts.tests_failed;
|
||||
|
|
Loading…
Add table
Reference in a new issue