[Pkg-owncloud-commits] [owncloud-client] 05/120: Make version check test conditional for now

Sandro Knauß hefee-guest at moszumanska.debian.org
Mon Aug 24 00:02:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit df625f0d49f94ad20cb0f086795047595a02bf7c
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Fri Aug 7 12:42:18 2015 +0200

    Make version check test conditional for now
---
 test/testutility.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/testutility.h b/test/testutility.h
index db3045d..e88ba67 100644
--- a/test/testutility.h
+++ b/test/testutility.h
@@ -106,6 +106,10 @@ private slots:
     void testVersionOfInstalledBinary()
     {
 	if( isLinux() ) {
+            if ( qgetenv("DISPLAY").isEmpty() ) {
+                // Current requires an X-Server
+                return;
+            }
             QString ver = versionOfInstalledBinary(OWNCLOUD_BIN);
 	    qDebug() << "Version of installed ownCloud Binary: " << ver;
 	    QVERIFY( !ver.isEmpty());

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list