summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/GoogleTest/GoogleTest.cmake
blob: 5e4b8ef069b5aca701e24b97692799073ad9c241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
project(test_include_dirs)
include(CTest)
include(GoogleTest)

enable_testing()

add_executable(fake_gtest fake_gtest.cpp)

gtest_discover_tests(
  fake_gtest
  TEST_PREFIX TEST:
  TEST_SUFFIX !1
  EXTRA_ARGS how now "\"brown\" cow"
  PROPERTIES LABELS TEST1
)

gtest_discover_tests(
  fake_gtest
  TEST_PREFIX TEST:
  TEST_SUFFIX !2
  EXTRA_ARGS how now "\"brown\" cow"
  PROPERTIES LABELS TEST2
)

add_executable(timeout_test timeout_test.cpp)

gtest_discover_tests(
  timeout_test
)