summaryrefslogtreecommitdiff
path: root/libc/test/integration/src/stdlib/CMakeLists.txt
blob: 1773d9fc9f0f58865bfdbf577ce29dfc0b434dfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})
  add_subdirectory(${LIBC_TARGET_OS})
endif()
add_custom_target(stdlib-integration-tests)
add_dependencies(libc-integration-tests stdlib-integration-tests)

add_integration_test(
  getenv_test
  SUITE
    stdlib-integration-tests
  SRCS
    getenv_test.cpp
  DEPENDS
    libc.src.stdlib.getenv
  ENV
    FRANCE=Paris
    GERMANY=Berlin
)