File: skip-test-drive-tests.patch

package info (click to toggle)
xtb 6.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,348 kB
  • sloc: f90: 139,236; fortran: 2,948; ansic: 2,215; makefile: 71; sh: 17; csh: 7; tcl: 7
file content (26 lines) | stat: -rw-r--r-- 729 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: test-drive is not packaged yet, thus tests are not run with
 this framework.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/test/unit/meson.build
+++ b/test/unit/meson.build
@@ -20,7 +20,7 @@
   'test-drive',
   version: '>=0.3',
   fallback: ['test-drive', 'testdrive_dep'],
-  required: not meson.is_subproject(),
+  required: false,
   default_options: [
     'default_library=static',
     'openmp=false',
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,7 +55,7 @@
 endif()
 
 if(NOT TARGET "test-drive::test-drive")
-  find_package("test-drive" REQUIRED)
+  # find_package("test-drive" REQUIRED)
 endif()
 
 # Sources: initialize program sources (prog) and library sources (srcs) empty