mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
d9fa328f89
* Require Git for build tests only if installed GTest is not found Cloning via Git is not the only path to obtain Google Test framework. In Linux, using a system package manager is the preferred way, and gtest can be installed through APK, APT, DNF, pacman, or many other. Now we make Git mandatory after checking GTest existence. See also: https://github.com/microsoft/GSL/pull/961#discussion_r548959056 * Support standalone tests The patch makes possible to run auto-tests against globally installed GSL, ignoring local headers. To do this, run CMake in the tests/ folder. cmake -B build -S tests -DGSL_CXX_STANDARD=14 This feature should not break existing build recipes. Co-authored-by: Nicholas Guriev <nicholas@guriev.su> |
||
---|---|---|
.. | ||
algorithm_tests.cpp | ||
assertion_tests.cpp | ||
at_tests.cpp | ||
byte_tests.cpp | ||
CMakeLists.txt | ||
CMakeLists.txt.in | ||
no_exception_ensure_tests.cpp | ||
notnull_tests.cpp | ||
owner_tests.cpp | ||
span_compatibility_tests.cpp | ||
span_ext_tests.cpp | ||
span_tests.cpp | ||
strict_notnull_tests.cpp | ||
string_span_tests.cpp | ||
utils_tests.cpp |