1add_libc_integration_test_suite(libc-pthread-integration-tests) 2 3add_integration_test( 4 pthread_mutex_test 5 SUITE 6 libc-pthread-integration-tests 7 SRCS 8 pthread_mutex_test.cpp 9 LOADER 10 libc.loader.linux.crt1 11 DEPENDS 12 libc.include.pthread 13 libc.src.errno.errno 14 libc.src.pthread.pthread_mutex_destroy 15 libc.src.pthread.pthread_mutex_init 16 libc.src.pthread.pthread_mutex_lock 17 libc.src.pthread.pthread_mutex_unlock 18 libc.src.pthread.pthread_create 19 libc.src.pthread.pthread_join 20) 21 22add_integration_test( 23 pthread_test 24 SUITE 25 libc-pthread-integration-tests 26 SRCS 27 pthread_test.cpp 28 LOADER 29 libc.loader.linux.crt1 30 DEPENDS 31 libc.include.pthread 32 libc.src.pthread.pthread_create 33 libc.src.pthread.pthread_join 34) 35 36add_integration_test( 37 pthread_equal_test 38 SUITE 39 libc-pthread-integration-tests 40 SRCS 41 pthread_equal_test.cpp 42 LOADER 43 libc.loader.linux.crt1 44 DEPENDS 45 libc.include.pthread 46 libc.src.errno.errno 47 libc.src.pthread.pthread_mutex_destroy 48 libc.src.pthread.pthread_mutex_init 49 libc.src.pthread.pthread_mutex_lock 50 libc.src.pthread.pthread_mutex_unlock 51 libc.src.pthread.pthread_create 52 libc.src.pthread.pthread_equal 53 libc.src.pthread.pthread_join 54 libc.src.pthread.pthread_self 55) 56