forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
elektra-0.7.1-test.patch
123 lines (97 loc) · 6.11 KB
/
elektra-0.7.1-test.patch
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
--- elektra-0.7.1/src/bindings/cpp/tests/test_kdb.cpp
+++ elektra-0.7.1/src/bindings/cpp/tests/test_kdb.cpp
@@ -1,4 +1,5 @@
#include <tests.h>
+#include <stdio.h>
void test_kdbGetSet()
{
--- elektra-0.7.1/src/bindings/cpp/tests/test_ks.cpp
+++ elektra-0.7.1/src/bindings/cpp/tests/test_ks.cpp
@@ -1,4 +1,5 @@
#include <tests.h>
+#include <stdio.h>
void test_ksnew()
{
--- elektra-0.7.1/src/bindings/cpp/tests/test_key.cpp
+++ elektra-0.7.1/src/bindings/cpp/tests/test_key.cpp
@@ -1,4 +1,5 @@
#include <tests.h>
+#include <stdio.h>
void test_keynew()
{
--- elektra-0.7.1/src/bindings/cpp/tests/Makefile.am
+++ elektra-0.7.1/src/bindings/cpp/tests/Makefile.am
@@ -10,13 +10,13 @@
endif
test_key_SOURCES = test_key.cpp tests.h tests.cpp
-test_key_LDADD = $(privatelibs) ../libelektra-cpp.a ../../../libelektra/libelektra.a
+test_key_LDADD = $(privatelibs) ../libelektra-cpp.a ../../../libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a
test_ks_SOURCES = test_ks.cpp tests.h tests.cpp
-test_ks_LDADD = $(privatelibs) ../libelektra-cpp.a ../../../libelektra/libelektra.a
+test_ks_LDADD = $(privatelibs) ../libelektra-cpp.a ../../../libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a
test_kdb_SOURCES = test_kdb.cpp tests.h tests.cpp
-test_kdb_LDADD = $(privatelibs) ../libelektra-cpp.a ../../../libelektra/libelektra.a
+test_kdb_LDADD = $(privatelibs) ../libelektra-cpp.a ../../../libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a
../libelektra-cpp.a:
cd .. && $(MAKE) libelektra-cpp.a
--- elektra-0.7.1/tests/Makefile.am
+++ elektra-0.7.1/tests/Makefile.am
@@ -1,10 +1,10 @@
AM_CFLAGS = $(COPTFLAGS) $(CDBGFLAGS)
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LTDLINCL)
-TESTS = test_key test_ks test_kdb test_xml test_validate.sh test_getset test_trie test_mount test_cap test_stream test_serialize test_split test_internals test_backendhelpers test_script.sh test_type
+TESTS = test_key test_ks test_kdb test_xml test_validate.sh test_getset test_trie test_mount test_cap test_stream test_serialize test_split test_internals test_script.sh test_type
#TESTS = test_backendhelpers
-check_PROGRAMS = test_key test_ks test_kdb test_xml test_getset test_trie test_mount test_cap test_stream test_serialize test_split test_internals test_backendhelpers test_type print_info
+check_PROGRAMS = test_key test_ks test_kdb test_xml test_getset test_trie test_mount test_cap test_stream test_serialize test_split test_internals test_type print_info
#check_PROGRAMS = test_backendhelpers
if VALGRINDTESTS
@@ -19,49 +19,49 @@
rm -f *.gcno *.gcda *.gcno
test_key_SOURCES = test_key.c tests.h tests.c
-test_key_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_key_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_ks_SOURCES = test_ks.c tests.h tests.c
-test_ks_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_ks_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_kdb_SOURCES = test_kdb.c tests.h tests.c
-test_kdb_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_kdb_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_xml_SOURCES = test_xml.c tests.h tests.c
-test_xml_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_xml_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_getset_SOURCES = test_getset.c tests.h tests.c
-test_getset_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_getset_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_trie_SOURCES = test_trie.c tests.h tests.c
-test_trie_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_trie_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_mount_SOURCES = test_mount.c tests.h tests.c
-test_mount_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_mount_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_cap_SOURCES = test_cap.c tests.h tests.c
-test_cap_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_cap_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_stream_SOURCES = test_stream.c tests.h tests.c
-test_stream_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_stream_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_serialize_SOURCES = test_serialize.c tests.h tests.c
-test_serialize_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_serialize_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_split_SOURCES = test_split.c tests.h tests.c
-test_split_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_split_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_internals_SOURCES = test_internals.c tests.h tests.c
-test_internals_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_internals_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_backendhelpers_SOURCES = test_backendhelpers.c tests.h tests.c
-test_backendhelpers_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_backendhelpers_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
test_type_SOURCES = test_type.c tests.h tests.c
-test_type_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+test_type_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
print_info_SOURCES = print_info.c tests.h tests.c
-print_info_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
+print_info_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
../src/libelektra/libelektra.a:
cd ../src/libelektra && $(MAKE) libelektra.a