summaryrefslogtreecommitdiff
path: root/science/dwave-preprocessing/files/patch-testscpp_test__main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'science/dwave-preprocessing/files/patch-testscpp_test__main.cpp')
-rw-r--r--science/dwave-preprocessing/files/patch-testscpp_test__main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/science/dwave-preprocessing/files/patch-testscpp_test__main.cpp b/science/dwave-preprocessing/files/patch-testscpp_test__main.cpp
new file mode 100644
index 000000000000..1fce02ce2668
--- /dev/null
+++ b/science/dwave-preprocessing/files/patch-testscpp_test__main.cpp
@@ -0,0 +1,9 @@
+--- testscpp/test_main.cpp.orig 2022-08-27 22:08:08 UTC
++++ testscpp/test_main.cpp
+@@ -1,5 +1,5 @@
+ #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
+-#include "Catch2/single_include/catch2/catch.hpp"
++#include <catch2/catch.hpp>
+
+ /*
+ The purpose of this file is to include Catch's main(). Tests can be found inside tests directory.