Update to Catch2.
This commit is contained in:
parent
7c973896d7
commit
ab74f8ab3a
8 changed files with 9 additions and 9 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -1,6 +1,6 @@
|
||||||
[submodule "lib/sprout"]
|
[submodule "lib/sprout"]
|
||||||
path = lib/sprout
|
path = lib/sprout
|
||||||
url = ../../bolero-MURAKAMI/Sprout.git
|
url = ../../bolero-MURAKAMI/Sprout.git
|
||||||
[submodule "lib/Catch"]
|
[submodule "lib/Catch2"]
|
||||||
path = lib/Catch
|
path = lib/Catch2
|
||||||
url = https://github.com/philsquared/Catch.git
|
url = https://github.com/catchorg/Catch2.git
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit ac369b7b8362de7ccc9c3f46e4f0c59115ecadcc
|
|
1
lib/Catch2
Submodule
1
lib/Catch2
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit c9de7dd12d2971c63f9d32ce5459eb98f2fec13d
|
|
@ -10,7 +10,7 @@ set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 17)
|
||||||
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)
|
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD_REQUIRED ON)
|
||||||
|
|
||||||
target_include_directories(${PROJECT_NAME}
|
target_include_directories(${PROJECT_NAME}
|
||||||
PRIVATE ${DUCKHANDY_SOURCE_DIR}/lib/Catch/single_include
|
PRIVATE ${DUCKHANDY_SOURCE_DIR}/lib/Catch2/single_include
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(${PROJECT_NAME}
|
target_link_libraries(${PROJECT_NAME}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* along with "duckhandy". If not, see <http://www.gnu.org/licenses/>.
|
* along with "duckhandy". If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "catch.hpp"
|
#include "catch2/catch.hpp"
|
||||||
#include "duckhandy/endianness.hpp"
|
#include "duckhandy/endianness.hpp"
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* along with "duckhandy". If not, see <http://www.gnu.org/licenses/>.
|
* along with "duckhandy". If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "catch.hpp"
|
#include "catch2/catch.hpp"
|
||||||
#include "duckhandy/int_conv.hpp"
|
#include "duckhandy/int_conv.hpp"
|
||||||
#include "duckhandy/string_bt.hpp"
|
#include "duckhandy/string_bt.hpp"
|
||||||
#include "sprout/cstring/strlen.hpp"
|
#include "sprout/cstring/strlen.hpp"
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* along with "duckhandy". If not, see <http://www.gnu.org/licenses/>.
|
* along with "duckhandy". If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "catch.hpp"
|
#include "catch2/catch.hpp"
|
||||||
#include "duckhandy/lexical_cast.hpp"
|
#include "duckhandy/lexical_cast.hpp"
|
||||||
#include "duckhandy/int_to_string_ary.hpp"
|
#include "duckhandy/int_to_string_ary.hpp"
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
|
@ -16,4 +16,4 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define CATCH_CONFIG_MAIN
|
#define CATCH_CONFIG_MAIN
|
||||||
#include "catch.hpp"
|
#include "catch2/catch.hpp"
|
||||||
|
|
Loading…
Add table
Reference in a new issue