From 8adab0b88ab1c0aa69242fffc48afdba085b1dc4 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 22 Jul 2023 18:39:10 -0700 Subject: [PATCH] Removed invalid assert in testatomic --- test/testatomic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/testatomic.c b/test/testatomic.c index 827a01ebcc..b28ef9bcf6 100644 --- a/test/testatomic.c +++ b/test/testatomic.c @@ -232,7 +232,8 @@ static void RunEpicTest(void) v = SDL_AtomicGet(&good); SDL_Log("Atomic %d Non-Atomic %d\n", v, bad); SDL_assert(v == Expect); - SDL_assert(bad != Expect); + /* We can't guarantee that bad != Expect, this would happen on a single core system, for example. */ + /*SDL_assert(bad != Expect);*/ } /* End atomic operation test */