Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile9
-rw-r--r--test/syncenginetestutils.h6
2 files changed, 15 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index fc0acb898..f8d6f9dd7 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,5 +1,12 @@
#!groovy
+//
+// We now run the tests in Debug mode so that ASSERTs are triggered.
+// Ideally we should run the tests in both Debug and Release so we catch
+// all possible error combinations.
+// See also the top comment in syncenginetestutils.h
+//
+
node('CLIENT') {
stage 'Checkout'
checkout scm
@@ -37,6 +44,8 @@ node('CLIENT') {
ctest .
'''
}
+
+ // Stage 'macOS' TODO
}
diff --git a/test/syncenginetestutils.h b/test/syncenginetestutils.h
index ee15d8e33..997e5054e 100644
--- a/test/syncenginetestutils.h
+++ b/test/syncenginetestutils.h
@@ -17,6 +17,12 @@
#include <QMap>
#include <QtTest>
+/*
+ * TODO: In theory we should use QVERIFY instead of Q_ASSERT for testing, but this
+ * only works when directly called from a QTest :-(
+ */
+
+
static const QUrl sRootUrl("owncloud://somehost/owncloud/remote.php/webdav/");
static const QUrl sRootUrl2("owncloud://somehost/owncloud/remote.php/dav/files/admin/");
static const QUrl sUploadUrl("owncloud://somehost/owncloud/remote.php/dav/uploads/admin/");