120 lines · plain
1add_libc_integration_test_suite(libc-threads-integration-tests)2 3add_integration_test(4 mtx_test5 SUITE6 libc-threads-integration-tests7 SRCS8 mtx_test.cpp9 DEPENDS10 libc.include.threads11 libc.src.errno.errno12 libc.src.threads.mtx_destroy13 libc.src.threads.mtx_init14 libc.src.threads.mtx_lock15 libc.src.threads.mtx_unlock16 libc.src.threads.thrd_create17 libc.src.threads.thrd_join18)19 20add_integration_test(21 thrd_equal_test22 SUITE23 libc-threads-integration-tests24 SRCS25 thrd_equal_test.cpp26 DEPENDS27 libc.include.threads28 libc.src.threads.mtx_destroy29 libc.src.threads.mtx_init30 libc.src.threads.mtx_lock31 libc.src.threads.mtx_unlock32 libc.src.threads.thrd_create33 libc.src.threads.thrd_current34 libc.src.threads.thrd_equal35 libc.src.threads.thrd_join36)37 38add_integration_test(39 thrd_test40 SUITE41 libc-threads-integration-tests42 SRCS43 thrd_test.cpp44 DEPENDS45 libc.include.threads46 libc.src.errno.errno47 libc.src.threads.thrd_create48 libc.src.threads.thrd_join49)50 51add_integration_test(52 thrd_exit_test53 SUITE54 libc-threads-integration-tests55 SRCS56 thrd_exit_test.cpp57 DEPENDS58 libc.include.threads59 libc.src.threads.thrd_create60 libc.src.threads.thrd_exit61 libc.src.threads.thrd_join62)63 64add_integration_test(65 tss_test66 SUITE67 libc-threads-integration-tests68 SRCS69 tss_test.cpp70 DEPENDS71 libc.include.threads72 libc.src.threads.thrd_create73 libc.src.threads.thrd_exit74 libc.src.threads.thrd_join75 libc.src.threads.tss_create76 libc.src.threads.tss_delete77 libc.src.threads.tss_get78 libc.src.threads.tss_set79)80 81add_integration_test(82 call_once_test83 SUITE84 libc-threads-integration-tests85 SRCS86 call_once_test.cpp87 DEPENDS88 libc.include.threads89 libc.src.threads.call_once90 libc.src.threads.mtx_destroy91 libc.src.threads.mtx_init92 libc.src.threads.mtx_lock93 libc.src.threads.mtx_unlock94 libc.src.threads.thrd_create95 libc.src.threads.thrd_join96 libc.src.__support.CPP.atomic97)98 99add_integration_test(100 cnd_test101 SUITE102 libc-threads-integration-tests103 SRCS104 cnd_test.cpp105 DEPENDS106 libc.include.threads107 libc.src.threads.cnd_init108 libc.src.threads.cnd_broadcast109 libc.src.threads.cnd_signal110 libc.src.threads.cnd_destroy111 libc.src.threads.cnd_wait112 libc.src.threads.mtx_destroy113 libc.src.threads.mtx_init114 libc.src.threads.mtx_lock115 libc.src.threads.mtx_unlock116 libc.src.threads.thrd_create117 libc.src.threads.thrd_join118 libc.src.threads.linux.threads_utils119)120