summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/whisper-cpp-enable-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/whisper-cpp-enable-tests.patch')
-rw-r--r--gnu/packages/patches/whisper-cpp-enable-tests.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/patches/whisper-cpp-enable-tests.patch b/gnu/packages/patches/whisper-cpp-enable-tests.patch
new file mode 100644
index 0000000000..c4340d4879
--- /dev/null
+++ b/gnu/packages/patches/whisper-cpp-enable-tests.patch
@@ -0,0 +1,19 @@
+Distribution specific patch
+
+restored tests commented out in CMakeLists.txt upstream
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c53252b..ee06015 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -176,8 +176,8 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/whisper.pc"
+ #
+
+ if (WHISPER_BUILD_TESTS AND NOT CMAKE_JS_VERSION)
+- #include(CTest)
+- #add_subdirectory(tests)
++ include(CTest)
++ add_subdirectory(tests)
+ endif ()
+
+ if (WHISPER_BUILD_EXAMPLES)