mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
committed by
Sam Atkins
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;
|
||||
|
||||
Reference in New Issue
Block a user