summaryrefslogtreecommitdiff
path: root/science/dimod/files/patch-testscpp_test__main.cpp
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-08-27 10:50:29 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2022-08-27 10:53:10 -0700
commit5b8dd2d0c6fcb225f099355a18e29f4736dffb57 (patch)
tree4489cd72707d01c0eeb3d7a53b067ab9bbd15a80 /science/dimod/files/patch-testscpp_test__main.cpp
parentnet/libfabric: Revert commit "Broken on riscv64" (diff)
science/dimod: Fix tests
Diffstat (limited to 'science/dimod/files/patch-testscpp_test__main.cpp')
-rw-r--r--science/dimod/files/patch-testscpp_test__main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/science/dimod/files/patch-testscpp_test__main.cpp b/science/dimod/files/patch-testscpp_test__main.cpp
new file mode 100644
index 000000000000..bb485e158894
--- /dev/null
+++ b/science/dimod/files/patch-testscpp_test__main.cpp
@@ -0,0 +1,9 @@
+--- testscpp/test_main.cpp.orig 2022-08-27 15:45:50 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.