Update tests for new check library & osx

This commit is contained in:
Nils O. Selåsdal
2025-06-28 00:56:58 +02:00
parent 9d2ed015f3
commit fb8979d695
29 changed files with 449 additions and 27 deletions
+2
View File
@@ -29,6 +29,7 @@ static void *update_thread(void *arg)
#define NR_THREADS 5
START_TEST(test_ticket_lock1)
{
struct ThreadArg threads[NR_THREADS];
int i;
int lrc;
@@ -53,6 +54,7 @@ START_TEST(test_ticket_lock1)
ck_assert_int_eq((NR_THREADS * (NR_THREADS + 1)) / 2, g_counter);
}
END_TEST
Suite *ticket_lock_suite(void)