File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
src/Beman/Optional26/tests Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 3
3
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
4
# cmake-format: on
5
5
6
- # Tests
7
- add_executable(optional_test "")
6
+ include (GoogleTest)
8
7
9
- target_sources(
10
- optional_test
11
- PRIVATE optional.t.cpp optional_ref.t.cpp
12
- optional_monadic.t.cpp optional_range_support.t.cpp
13
- optional_ref_monadic.t.cpp detail/iterator.t.cpp)
8
+ # Tests
9
+ add_executable(optional_test
10
+ optional.t.cpp
11
+ optional_ref.t.cpp
12
+ optional_monadic.t.cpp
13
+ optional_range_support.t.cpp
14
+ optional_ref_monadic.t.cpp
15
+ detail/iterator.t.cpp
16
+ )
14
17
15
18
target_link_libraries(optional_test "${TARGET_LIBRARY}" GTest ::gtest GTest::gtest_main)
16
19
17
- include (GoogleTest)
18
-
19
20
# Note: clang-19 + gtest_discover_tests + Asan setup causes errors on some platforms.
20
21
# Temporary switch to gtest_add_tests and skip some Asan checks.
21
22
gtest_add_tests(optional_test "" AUTO)
You can’t perform that action at this time.
0 commit comments