1add_libc_testsuite(libc_threads_unittests) 2 3add_libc_unittest( 4 call_once_test 5 SUITE 6 libc_threads_unittests 7 SRCS 8 call_once_test.cpp 9 DEPENDS 10 libc.include.threads 11 libc.src.threads.call_once 12 libc.src.threads.mtx_init 13 libc.src.threads.mtx_lock 14 libc.src.threads.mtx_unlock 15 libc.src.threads.thrd_create 16 libc.src.threads.thrd_join 17) 18 19add_libc_unittest( 20 thrd_test 21 SUITE 22 libc_threads_unittests 23 SRCS 24 thrd_test.cpp 25 DEPENDS 26 libc.include.threads 27 libc.src.errno.__errno_location 28 libc.src.threads.thrd_create 29 libc.src.threads.thrd_join 30) 31 32add_libc_unittest( 33 mtx_test 34 SUITE 35 libc_threads_unittests 36 SRCS 37 mtx_test.cpp 38 DEPENDS 39 libc.include.threads 40 libc.src.errno.__errno_location 41 libc.src.threads.mtx_init 42 libc.src.threads.mtx_lock 43 libc.src.threads.mtx_unlock 44 libc.src.threads.thrd_create 45 libc.src.threads.thrd_join 46) 47