public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-libs/libnm-qt/files: libnm-qt-0.9.0.1-tests-optional.patch
@ 2013-10-15 22:28 Johannes Huber (johu)
  0 siblings, 0 replies; only message in thread
From: Johannes Huber (johu) @ 2013-10-15 22:28 UTC (permalink / raw
  To: gentoo-commits

johu        13/10/15 22:28:40

  Added:                libnm-qt-0.9.0.1-tests-optional.patch
  Log:
  New package. Import from kde overlay, Qt networkmanager abstraction library. Will be required for kde-misc/plasma-nm.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)

Revision  Changes    Path
1.1                  net-libs/libnm-qt/files/libnm-qt-0.9.0.1-tests-optional.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnm-qt/files/libnm-qt-0.9.0.1-tests-optional.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnm-qt/files/libnm-qt-0.9.0.1-tests-optional.patch?rev=1.1&content-type=text/plain

Index: libnm-qt-0.9.0.1-tests-optional.patch
===================================================================
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3f76283..cc05451 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,8 +50,13 @@ if (BUILD_EXAMPLES)
     add_subdirectory(examples)
 endif(BUILD_EXAMPLES)
 
-enable_testing(true)
-add_subdirectory(tests)
+option(DISABLE_TESTING "Disable unit tests" FALSE)
+if (DISABLE_TESTING)
+    message(STATUS "Disabling unit tests")
+else()
+    enable_testing(true)
+    add_subdirectory(tests)
+endif()
 
 set(NetworkManagerQt_HEADERS
     accesspoint.h





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-15 22:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-15 22:28 [gentoo-commits] gentoo-x86 commit in net-libs/libnm-qt/files: libnm-qt-0.9.0.1-tests-optional.patch Johannes Huber (johu)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox