File: run_tests_in_not_yet_installed_dir.patch

package info (click to toggle)
genomicsdb 1.4.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,788 kB
  • sloc: cpp: 78,988; ansic: 58,119; java: 8,531; python: 2,270; sh: 1,850; perl: 1,621; makefile: 490; xml: 455
file content (15 lines) | stat: -rw-r--r-- 674 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: at the test step, the package has not been installed, so we look
 for the binaries in the source tree
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2022-07-26

--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -14,5 +14,5 @@
   build_GenomicsDB_executable(vcf_histogram)
   build_GenomicsDB_executable(consolidate_genomicsdb_array)
 
-  add_test(NAME tools_tests COMMAND ${CMAKE_SOURCE_DIR}/tests/test_tools.sh ${CMAKE_SOURCE_DIR}/tests/inputs/vcfs ${CMAKE_INSTALL_PREFIX})
+  add_test(NAME tools_tests COMMAND ${CMAKE_SOURCE_DIR}/tests/test_tools.sh ${CMAKE_SOURCE_DIR}/tests/inputs/vcfs "${CMAKE_BINARY_DIR}/tools")
 endif()