Removed invalid assert in testatomic

This commit is contained in:
Sam Lantinga
2023-07-22 18:39:10 -07:00
parent d5479d7b81
commit 8adab0b88a

View File

@@ -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 */