/[gentoo-x86]/app-admin/elektra/files/elektra-0.7.1-test.patch
Gentoo

Contents of /app-admin/elektra/files/elektra-0.7.1-test.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed Feb 8 04:43:23 2012 UTC (8 years, 1 month ago) by xmw
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Fix tests, disable test_backendhelpers test (bug 402619).

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 --- elektra-0.7.1/src/bindings/cpp/tests/test_kdb.cpp
2 +++ elektra-0.7.1/src/bindings/cpp/tests/test_kdb.cpp
3 @@ -1,4 +1,5 @@
4 #include <tests.h>
5 +#include <stdio.h>
6
7 void test_kdbGetSet()
8 {
9 --- elektra-0.7.1/src/bindings/cpp/tests/test_ks.cpp
10 +++ elektra-0.7.1/src/bindings/cpp/tests/test_ks.cpp
11 @@ -1,4 +1,5 @@
12 #include <tests.h>
13 +#include <stdio.h>
14
15 void test_ksnew()
16 {
17 --- elektra-0.7.1/src/bindings/cpp/tests/test_key.cpp
18 +++ elektra-0.7.1/src/bindings/cpp/tests/test_key.cpp
19 @@ -1,4 +1,5 @@
20 #include <tests.h>
21 +#include <stdio.h>
22
23 void test_keynew()
24 {
25 --- elektra-0.7.1/src/bindings/cpp/tests/Makefile.am
26 +++ elektra-0.7.1/src/bindings/cpp/tests/Makefile.am
27 @@ -10,13 +10,13 @@
28 endif
29
30 test_key_SOURCES = test_key.cpp tests.h tests.cpp
31 -test_key_LDADD = $(privatelibs) ../libelektra-cpp.a ../../../libelektra/libelektra.a
32 +test_key_LDADD = $(privatelibs) ../libelektra-cpp.a ../../../libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a
33
34 test_ks_SOURCES = test_ks.cpp tests.h tests.cpp
35 -test_ks_LDADD = $(privatelibs) ../libelektra-cpp.a ../../../libelektra/libelektra.a
36 +test_ks_LDADD = $(privatelibs) ../libelektra-cpp.a ../../../libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a
37
38 test_kdb_SOURCES = test_kdb.cpp tests.h tests.cpp
39 -test_kdb_LDADD = $(privatelibs) ../libelektra-cpp.a ../../../libelektra/libelektra.a
40 +test_kdb_LDADD = $(privatelibs) ../libelektra-cpp.a ../../../libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a
41
42 ../libelektra-cpp.a:
43 cd .. && $(MAKE) libelektra-cpp.a
44 --- elektra-0.7.1/tests/Makefile.am
45 +++ elektra-0.7.1/tests/Makefile.am
46 @@ -1,10 +1,10 @@
47 AM_CFLAGS = $(COPTFLAGS) $(CDBGFLAGS)
48 AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LTDLINCL)
49
50 -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
51 +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
52 #TESTS = test_backendhelpers
53
54 -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
55 +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
56 #check_PROGRAMS = test_backendhelpers
57
58 if VALGRINDTESTS
59 @@ -19,49 +19,49 @@
60 rm -f *.gcno *.gcda *.gcno
61
62 test_key_SOURCES = test_key.c tests.h tests.c
63 -test_key_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
64 +test_key_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
65
66 test_ks_SOURCES = test_ks.c tests.h tests.c
67 -test_ks_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
68 +test_ks_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
69
70 test_kdb_SOURCES = test_kdb.c tests.h tests.c
71 -test_kdb_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
72 +test_kdb_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
73
74 test_xml_SOURCES = test_xml.c tests.h tests.c
75 -test_xml_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
76 +test_xml_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
77
78 test_getset_SOURCES = test_getset.c tests.h tests.c
79 -test_getset_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
80 +test_getset_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
81
82 test_trie_SOURCES = test_trie.c tests.h tests.c
83 -test_trie_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
84 +test_trie_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
85
86 test_mount_SOURCES = test_mount.c tests.h tests.c
87 -test_mount_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
88 +test_mount_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
89
90 test_cap_SOURCES = test_cap.c tests.h tests.c
91 -test_cap_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
92 +test_cap_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
93
94 test_stream_SOURCES = test_stream.c tests.h tests.c
95 -test_stream_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
96 +test_stream_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
97
98 test_serialize_SOURCES = test_serialize.c tests.h tests.c
99 -test_serialize_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
100 +test_serialize_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
101
102 test_split_SOURCES = test_split.c tests.h tests.c
103 -test_split_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
104 +test_split_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
105
106 test_internals_SOURCES = test_internals.c tests.h tests.c
107 -test_internals_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
108 +test_internals_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
109
110 test_backendhelpers_SOURCES = test_backendhelpers.c tests.h tests.c
111 -test_backendhelpers_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
112 +test_backendhelpers_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
113
114 test_type_SOURCES = test_type.c tests.h tests.c
115 -test_type_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
116 +test_type_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
117
118 print_info_SOURCES = print_info.c tests.h tests.c
119 -print_info_LDADD = $(privatelibs) ../src/libelektra/libelektra.a
120 +print_info_LDADD = $(privatelibs) ../src/libelektra/libelektra.a /usr/lib/libxml2.a /usr/lib/libz.a /usr/lib/libm.a
121
122 ../src/libelektra/libelektra.a:
123 cd ../src/libelektra && $(MAKE) libelektra.a

  ViewVC Help
Powered by ViewVC 1.1.20