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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed Aug 5 12:03:06 2015 UTC (4 years, 7 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Version bump, add live ebuild, https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/165 (thanks a17r).

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

1 --- a/src/libtools/tests/CMakeLists.txt 2014-08-22 20:52:14.634898037 +0200
2 +++ b/src/libtools/tests/CMakeLists.txt 2014-08-22 21:19:25.770506035 +0200
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 \ No newline at end of file
17 + file (GLOB TESTS testtool_*.cpp)
18 + foreach (file ${TESTS})
19 + get_filename_component (name ${file} NAME_WE)
20 + add_gtest (${name})
21 + endforeach (file ${TESTS})
22 +endif (ENABLE_TESTING)

  ViewVC Help
Powered by ViewVC 1.1.20