[NFC][AArch64] Explicitly define undefined bits for instructions (#122129)
[llvm-project.git] / libc / test / integration / startup / linux / CMakeLists.txt
blob511b16d6130261f05495b4963835f2c01c23bd25
1 if(NOT (EXISTS ${LIBC_SOURCE_DIR}/startup/linux/${LIBC_TARGET_ARCHITECTURE}))
2   message("Skipping startup integration tests for target architecture ${LIBC_TARGET_ARCHITECTURE}.")
3   return()
4 endif()
6 add_custom_target(libc-startup-tests)
7 add_dependencies(libc-integration-tests libc-startup-tests)
9 add_integration_test(
10   startup_args_test
11   SUITE libc-startup-tests
12   SRCS
13     args_test.cpp
14   ARGS
15     1 2 3
16   ENV
17     FRANCE=Paris
18     GERMANY=Berlin
21 add_integration_test(
22   startup_no_envp_test
23   SUITE libc-startup-tests
24   SRCS
25     main_without_envp.cpp
28 add_integration_test(
29   startup_no_args_test
30   SUITE libc-startup-tests
31   SRCS
32     main_without_args.cpp
35 add_integration_test(
36   startup_tls_test
37   SUITE libc-startup-tests
38   SRCS
39     tls_test.cpp
40   DEPENDS
41     libc.include.sys_mman
42     libc.src.errno.errno
43     libc.src.sys.mman.mmap
46 add_integration_test(
47   init_fini_array_test
48   SUITE libc-startup-tests
49   SRCS
50     init_fini_array_test.cpp