Removed invalid assert in testatomic

(cherry picked from commit 8adab0b88ab1c0aa69242fffc48afdba085b1dc4)
This commit is contained in:
Sam Lantinga 2023-07-22 18:39:10 -07:00
parent 322dbdde4e
commit ba0c270c7a

View file

@ -234,7 +234,8 @@ static void RunEpicTest()
v = SDL_AtomicGet(&good); v = SDL_AtomicGet(&good);
SDL_Log("Atomic %d Non-Atomic %d\n", v, bad); SDL_Log("Atomic %d Non-Atomic %d\n", v, bad);
SDL_assert(v == Expect); 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 */ /* End atomic operation test */