summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/tests/rtl/CMakeLists.txt
blob: 92cec3ee41bd44af61d665f70dab3a93bc3410c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
set(TSAN_RTL_TEST_SOURCES
  tsan_bench.cpp
  tsan_mop.cpp
  tsan_mutex.cpp
  tsan_posix.cpp
  tsan_string.cpp
  tsan_test.cpp
  tsan_thread.cpp
  )

if(UNIX)
  list(APPEND TSAN_RTL_TEST_SOURCES
    tsan_test_util_posix.cpp
    )
endif()

set(TSAN_RTL_TEST_HEADERS
  tsan_test_util.h
  )

add_tsan_unittest(TsanRtlTest
  SOURCES ${TSAN_RTL_TEST_SOURCES}
  HEADERS ${TSAN_RTL_TEST_HEADERS})
OpenPOWER on IntegriCloud