[Testing] Inclrease timer test timeout and update default test targets

The threading test is verifying that the timer fires, not that it fires
within a specific timeout, so increasing to 100 to keep it from failing
randomly. Also removing xenia-cpu-ppc-tests from list of default targets
as they take forever to run, they can still be run run using xb test
with --target xenia-cpu-ppc-tests explicitly.
This commit is contained in:
Herman S.
2026-03-10 16:49:41 +09:00
parent 3585b6e592
commit c4bd0c3f33
2 changed files with 4 additions and 3 deletions

View File

@@ -815,14 +815,14 @@ TEST_CASE("Wait on Timer", "[timer]") {
// Test Repeating
REQUIRE(timer->SetRepeatingAfter(1ms, 10ms));
for (int i = 0; i < 10; ++i) {
result = Wait(timer.get(), false, 20ms);
result = Wait(timer.get(), false, 100ms);
INFO(i);
REQUIRE(result == WaitResult::kSuccess);
}
MaybeYield();
Sleep(10ms); // Skip a few events
for (int i = 0; i < 10; ++i) {
result = Wait(timer.get(), false, 20ms);
result = Wait(timer.get(), false, 100ms);
REQUIRE(result == WaitResult::kSuccess);
}
// Cancel it

View File

@@ -1223,7 +1223,8 @@ class TestCommand(BaseBuildCommand):
# The test executables that will be built and run.
test_targets = args["target"] or [
"xenia-base-tests",
"xenia-cpu-ppc-tests"
"xenia-cpu-tests",
"xenia-kernel-tests",
]
args["target"] = test_targets