mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
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
|
@ -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…
Reference in a new issue