summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/xray/tests/unit/CMakeLists.txt
blob: a814983667386aeedaf19a5fe13850a4fe6186a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set(TEST_SOURCES
  allocator_test.cpp
  buffer_queue_test.cpp
  function_call_trie_test.cpp
  profile_collector_test.cpp
  segmented_array_test.cpp
  test_helpers.cpp
  xray_unit_test_main.cpp
  )

if (NOT COMPILER_RT_STANDALONE_BUILD OR COMPILER_RT_HAS_LLVMTESTINGSUPPORT)
  list(APPEND TEST_SOURCES
    fdr_controller_test.cpp
    fdr_log_writer_test.cpp
    )
endif()

add_xray_unittest(XRayTest SOURCES ${TEST_SOURCES})
OpenPOWER on IntegriCloud