/[gentoo-x86]/app-admin/elektra/files/elektra-0.8.7-conditional-glob-tests.patch
Gentoo

Contents of /app-admin/elektra/files/elektra-0.8.7-conditional-glob-tests.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Tue Jun 9 16:45:41 2015 UTC (4 years, 9 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Version bump (thanks Andreas Sturmlechner, bug 520288).

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)

1 --- elektra-0.87/src/libtools/tests/CMakeLists.txt
2 +++ elektra-0.87/src/libtools/tests/CMakeLists.txt
3 @@ -4,10 +4,12 @@
4 add_cppheaders (HDR_FILES)
5 add_toolheaders(HDR_FILES)
6
7 -include (LibAddTest)
8 +if (ENABLE_TESTING)
9 + include (LibAddTest)
10
11 -file (GLOB TESTS testtool_*.cpp)
12 -foreach (file ${TESTS})
13 - get_filename_component (name ${file} NAME_WE)
14 - add_gtest (${name})
15 -endforeach (file ${TESTS})
16 + file (GLOB TESTS testtool_*.cpp)
17 + foreach (file ${TESTS})
18 + get_filename_component (name ${file} NAME_WE)
19 + add_gtest (${name})
20 + endforeach (file ${TESTS})
21 +endif (ENABLE_TESTING)

  ViewVC Help
Powered by ViewVC 1.1.20