Skip to content

Commit

Permalink
Removed invalid assert in testatomic
Browse files Browse the repository at this point in the history
(cherry picked from commit 8adab0b)
  • Loading branch information
slouken committed Jul 23, 2023
1 parent 322dbdd commit ba0c270
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/testatomic.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ static void RunEpicTest()
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 */
Expand Down

0 comments on commit ba0c270

Please sign in to comment.