File: workdir_for_test.patch

package info (click to toggle)
spades 4.0.0%2Breally3.15.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 97,372 kB
  • sloc: cpp: 850,755; ansic: 156,813; python: 23,134; perl: 4,547; sh: 2,349; makefile: 1,273; java: 890; pascal: 875; xml: 19
file content (13 lines) | stat: -rw-r--r-- 675 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: Juhani Numminen <juhaninumminen0@gmail.com>
Last-Changed: Thu, 25 Feb 2021 17:54:56 +0200
Description: set working directory so that the test finds its data
Forwarded: no
--- a/assembler/src/test/debruijn/CMakeLists.txt
+++ b/assembler/src/test/debruijn/CMakeLists.txt
@@ -12,4 +12,5 @@
                path_extend_test.cpp graphio.cpp overlap_removal_test.cpp graph_alignment_test.cpp
                test.cpp)
 target_link_libraries(debruijn_test common_modules input ${COMMON_LIBRARIES} teamcity_gtest gtest)
-add_test(NAME debruijn_test COMMAND debruijn_test)
+add_test(NAME debruijn_test COMMAND debruijn_test
+         WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/..)