File: use_debian_packaged_googletest.patch

package info (click to toggle)
idba 1.1.3-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,408 kB
  • sloc: cpp: 36,571; sh: 1,450; makefile: 203; python: 99; perl: 8
file content (42 lines) | stat: -rw-r--r-- 3,017 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: Use Debian packaged googletest library
Bug-Debian: https://bugs.debian.org/945684
Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 28 Nov 2019 10:05:54 +0100

--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,20 +1,20 @@
 AM_LDFLAGS = -fopenmp -pthread
-LIBS = $(top_srcdir)/lib/libassembly.a $(top_srcdir)/lib/libgtest.a @LIBS@
+LIBS = $(top_srcdir)/lib/libassembly.a -lgtest @LIBS@
 AM_CXXFLAGS = -Wall -O3 -fopenmp -pthread
-INCLUDES =  -I$(top_srcdir)/src -I$(top_srcdir)/gtest_src 
+INCLUDES =  -I$(top_srcdir)/src
 
-compact_sequence_unittest_SOURCES = $(top_srcdir)/src/test/compact_sequence_unittest.cpp
-hash_table_unittest_SOURCES = $(top_srcdir)/src/test/hash_table_unittest.cpp
-bit_edges_unittest_SOURCES = $(top_srcdir)/src/test/bit_edges_unittest.cpp
-kmer_unittest_SOURCES = $(top_srcdir)/src/test/kmer_unittest.cpp
-hash_set_unittest_SOURCES = $(top_srcdir)/src/test/hash_set_unittest.cpp
-atomic_integer_unittest_SOURCES = $(top_srcdir)/src/test/atomic_integer_unittest.cpp
-vertex_status_unittest_SOURCES = $(top_srcdir)/src/test/vertex_status_unittest.cpp
-histgram_unittest_SOURCES = $(top_srcdir)/src/test/histgram_unittest.cpp
-managed_list_unittest_SOURCES = $(top_srcdir)/src/test/managed_list_unittest.cpp
-sequence_unittest_SOURCES = $(top_srcdir)/src/test/sequence_unittest.cpp
-short_sequence_unittest_SOURCES = $(top_srcdir)/src/test/short_sequence_unittest.cpp
-hash_map_unittest_SOURCES = $(top_srcdir)/src/test/hash_map_unittest.cpp 
+compact_sequence_unittest_SOURCES = $(top_srcdir)/gtest_src/gtest/gtest_main.cc $(top_srcdir)/src/test/compact_sequence_unittest.cpp
+hash_table_unittest_SOURCES = $(top_srcdir)/gtest_src/gtest/gtest_main.cc $(top_srcdir)/src/test/hash_table_unittest.cpp
+bit_edges_unittest_SOURCES = $(top_srcdir)/gtest_src/gtest/gtest_main.cc $(top_srcdir)/src/test/bit_edges_unittest.cpp
+kmer_unittest_SOURCES = $(top_srcdir)/gtest_src/gtest/gtest_main.cc $(top_srcdir)/src/test/kmer_unittest.cpp
+hash_set_unittest_SOURCES = $(top_srcdir)/gtest_src/gtest/gtest_main.cc $(top_srcdir)/src/test/hash_set_unittest.cpp
+atomic_integer_unittest_SOURCES = $(top_srcdir)/gtest_src/gtest/gtest_main.cc $(top_srcdir)/src/test/atomic_integer_unittest.cpp
+vertex_status_unittest_SOURCES = $(top_srcdir)/gtest_src/gtest/gtest_main.cc $(top_srcdir)/src/test/vertex_status_unittest.cpp
+histgram_unittest_SOURCES = $(top_srcdir)/gtest_src/gtest/gtest_main.cc $(top_srcdir)/src/test/histgram_unittest.cpp
+managed_list_unittest_SOURCES = $(top_srcdir)/gtest_src/gtest/gtest_main.cc $(top_srcdir)/src/test/managed_list_unittest.cpp
+sequence_unittest_SOURCES = $(top_srcdir)/gtest_src/gtest/gtest_main.cc $(top_srcdir)/src/test/sequence_unittest.cpp
+short_sequence_unittest_SOURCES = $(top_srcdir)/gtest_src/gtest/gtest_main.cc $(top_srcdir)/src/test/short_sequence_unittest.cpp
+hash_map_unittest_SOURCES = $(top_srcdir)/gtest_src/gtest/gtest_main.cc $(top_srcdir)/src/test/hash_map_unittest.cpp 
 
 check_PROGRAMS = \
 	compact_sequence_unittest \