Updated Catch2 v3.13.0. (#373)

* Updated Catch2 v3.13.0.

* Fixed bad test.
This commit is contained in:
Branimir Karadžić
2026-03-04 21:40:07 -08:00
committed by GitHub
parent 1e0ee96b8d
commit cb281314e1
3 changed files with 1750 additions and 780 deletions

View File

@@ -60,16 +60,16 @@ TEST_CASE("Thread", "")
REQUIRE(!th.isRunning() );
REQUIRE(th.getExitCode() == 1);
}
TEST_CASE("MpScUnboundedBlockingQueue", "")
{
void* p0 = s_mpsc.pop();
void* p1 = s_mpsc.pop();
SECTION("MpScUnboundedBlockingQueue")
{
void* p0 = s_mpsc.pop();
void* p1 = s_mpsc.pop();
uintptr_t result = uintptr_t(p0) | uintptr_t(p1);
uintptr_t result = uintptr_t(p0) | uintptr_t(p1);
REQUIRE(result == 0x1389);
REQUIRE(result == 0x1389);
}
}
#endif // BX_CONFIG_SUPPORTS_THREADING