~ruther/guix-local

ref: d98dc7051d2dcdbaa2ce2f92fe6385ee7bd4bab0 guix-local/gnu/packages/patches/fuzzylite-relative-path-in-tests.patch -rw-r--r-- 614 bytes
d98dc705 — Christopher Baines gnu: guix-data-service: Update to 0.0.1-50.d74422c. 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Workaround https://github.com/fuzzylite/fuzzylite/issues/85

diff --git a/fuzzylite/test/BenchmarkTest.cpp b/fuzzylite/test/BenchmarkTest.cpp
index f868ec29..464d394d 100644
--- a/fuzzylite/test/BenchmarkTest.cpp
+++ b/fuzzylite/test/BenchmarkTest.cpp
@@ -30,7 +30,7 @@ namespace fl {
     }
 
     TEST_CASE("Benchmarks from FLD files", "[benchmark][fld]") {
-        std::string path = "../../examples/";
+        std::string path = "../examples/";
         typedef std::pair<std::string, int > Example;
         std::vector<Example> examples;
         examples.push_back(Example("mamdani/AllTerms", int(1e4)));