xref: /haiku/src/tests/system/libroot/posix/Jamfile (revision 4a850ca730d8282b5b924e49e09b4ba4d6db7f54)
1SubDir HAIKU_TOP src tests system libroot posix ;
2
3UsePrivateHeaders libroot system ;
4
5# filter warnings about strftime()-formats in locale_test
6TARGET_WARNING_C++FLAGS_$(TARGET_PACKAGING_ARCH)
7	on [ FGristFiles locale_test.o ] += -Wno-format ;
8
9# POSIX/libc tests
10SimpleTest abort_test : abort_test.cpp ;
11SimpleTest SyslogTest : SyslogTest.cpp ;
12SimpleTest brk_test : brk_test.c ;
13SimpleTest calloc_test : calloc_test.c ;
14SimpleTest <test>chmod : chmod.cpp ;
15SimpleTest clearenv : clearenv.cpp ;
16SimpleTest dirent_test : dirent_test.cpp ;
17SimpleTest flock_test : flock_test.cpp ;
18SimpleTest fseek_test : fseek_test.cpp ;
19SimpleTest getsubopt_test : getsubopt_test.cpp ;
20SimpleTest locale_test : locale_test.cpp ;
21SimpleTest memalign_test : memalign_test.cpp : [ TargetLibsupc++ ] ;
22SimpleTest mprotect_test : mprotect_test.cpp ;
23SimpleTest pthread_signal_test : pthread_signal_test.cpp ;
24SimpleTest realtime_sem_test1 : realtime_sem_test1.cpp ;
25SimpleTest seek_and_write_test : seek_and_write_test.cpp ;
26SimpleTest setpgid_test : setpgid_test.cpp ;
27SimpleTest setjmp_test : setjmp_test.c ;
28if $(TARGET_ARCH) = x86 {
29	SimpleTest setjmp_test2 : setjmp_test2.S ;
30}
31SimpleTest signal_in_allocator_test : signal_in_allocator_test.cpp ;
32SimpleTest signal_in_allocator_test2 : signal_in_allocator_test2.cpp ;
33SimpleTest signal_test : signal_test.cpp ;
34SimpleTest sigsetjmp_test : sigsetjmp_test.c ;
35SimpleTest test_time : test_time.c ;
36#SimpleTest tls_concurrency_test : tls_concurrency_test.cpp ;
37SimpleTest tst-mktime : tst-mktime.c ;
38SimpleTest <test>truncate : truncate.cpp ;
39SimpleTest init_rld_after_fork_test : init_rld_after_fork_test.cpp ;
40SimpleTest user_thread_fork_test : user_thread_fork_test.cpp ;
41SimpleTest pthread_barrier_test : pthread_barrier_test.cpp ;
42SimpleTest posix_spawn_test : posix_spawn_test.cpp ;
43SimpleTest posix_spawn_redir_test : posix_spawn_redir_test.c ;
44SimpleTest posix_spawn_redir_err : posix_spawn_redir_err.c ;
45SimpleTest posix_spawn_pipe_test : posix_spawn_pipe_test.c ;
46SimpleTest posix_spawn_pipe_err : posix_spawn_pipe_err.c ;
47SimpleTest pthread_attr_stack_test : pthread_attr_stack_test.cpp ;
48SimpleTest thread_local_test : thread_local_test.cpp : [ TargetLibstdc++ ] ;
49
50# XSI tests
51SimpleTest xsi_msg_queue_test1 : xsi_msg_queue_test1.cpp ;
52SimpleTest xsi_sem_test1 : xsi_sem_test1.cpp ;
53
54# wide character tests
55SimpleTest fwide_test : fwide_test.c ;
56SimpleTest gnulib-test-btowc : gnulib-test-btowc.c ;
57SimpleTest gnulib-test-mbrtowc : gnulib-test-mbrtowc.c ;
58#SimpleTest gnulib-test-mbsnrtowcs : gnulib-test-mbsnrtowcs.c ;
59SimpleTest gnulib-test-mbsrtowcs : gnulib-test-mbsrtowcs.c ;
60SimpleTest gnulib-test-wcrtomb : gnulib-test-wcrtomb.c ;
61#SimpleTest gnulib-test-wcsnrtombs : gnulib-test-wcsnrtombs.c ;
62SimpleTest gnulib-test-wcsrtombs : gnulib-test-wcsrtombs.c ;
63SimpleTest mbtest : mbtest.c ;
64SimpleTest testmb : testmb.c ;
65SimpleTest tst-btowc : tst-btowc.c ;
66SimpleTest tst-fgetws : tst-fgetws.c ;
67SimpleTest tst-getwc : tst-getwc.c ;
68SimpleTest tst-mbrtowc : tst-mbrtowc.c ;
69SimpleTest tst-swprintf : tst-swprintf.c ;
70SimpleTest tst-swscanf : tst-swscanf.c ;
71SimpleTest tst-swscanf2 : tst-swscanf2.c ;
72SimpleTest tst-ungetwc1 : tst-ungetwc1.c ;
73SimpleTest tst-ungetwc2 : tst-ungetwc2.c ;
74SimpleTest tst-wcrtomb : tst-wcrtomb.c ;
75SimpleTest tst-wcsnlen : tst-wcsnlen.c ;
76SimpleTest tst-wcstof : tst-wcstof.c ;
77SimpleTest tst-wprintf : tst-wprintf.c ;
78SimpleTest tst-wprintf2 : tst-wprintf2.c ;
79SimpleTest tst-wscanf : tst-wscanf.c ;
80SimpleTest test_wcfuncs : test_wcfuncs.c ;
81SimpleTest test_wctype : test_wctype.c ;
82SimpleTest wcs_test : wcs_test.cpp ;
83
84UnitTestLib librootposixtest.so :
85	LibRootPosix.cpp
86
87	CryptTest.cpp
88
89	: be [ TargetLibstdc++ ] [ TargetLibsupc++ ]
90;
91
92SubInclude HAIKU_TOP src tests system libroot posix math ;
93SubInclude HAIKU_TOP src tests system libroot posix string ;
94