-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f4a5f4
commit 828cb17
Showing
8 changed files
with
50 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[submodule "papers/wg21"] | ||
path = papers/P2988/wg21 | ||
url = https://github.com/mpark/wg21.git | ||
[submodule "extern/googletest"] | ||
path = extern/googletest | ||
url = https://github.com/google/googletest.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Submodule googletest
deleted from
305e5a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# cmake-format: off | ||
# src/Beman/Optional26/tests/CMakeLists.txt -*-makefile-*- | ||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
# cmake-format: on | ||
|
||
# Tests | ||
add_executable(optional_test "") | ||
|
||
target_sources( | ||
optional_test | ||
PRIVATE optional.t.cpp optional_ref.t.cpp | ||
optional_monadic.t.cpp optional_range_support.t.cpp | ||
optional_ref_monadic.t.cpp detail/iterator.t.cpp) | ||
|
||
target_link_libraries(optional_test "${TARGET_LIBRARY}" GTest::gtest GTest::gtest_main) | ||
|
||
include(GoogleTest) | ||
|
||
# Note: clang-19 + gtest_discover_tests + Asan setup causes errors on some platforms. | ||
# Temporary switch to gtest_add_tests and skip some Asan checks. | ||
enable_testing() | ||
gtest_add_tests(optional_test "" AUTO) |