Hi everyone,

We had an integration test issue sneak in to our public repo, because
gatekeepers only run essential CI test set by default.

The attached patch moves the integration tests to that set to avoid the issue
in the future and to also have more bugs caught, potentially.

Nick

>From 47ca208fe7f660eeaad5ab65ff8f6da78baee81b Mon Sep 17 00:00:00 2001
From: Nikolai Kondrashov <[email protected]>
Date: Mon, 15 Jun 2015 13:26:08 +0300
Subject: [PATCH] CI: Move intgcheck to essential set

Move integration test run ("intgcheck") to "essential" test set.  It
doesn't take long - 2.5 minutes at most, and it can (potentially) catch
a wide range of problems. This will also make integration tests run on
default push to CI.
---
 contrib/ci/run | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/contrib/ci/run b/contrib/ci/run
index 5f668ff..a07ac5c 100755
--- a/contrib/ci/run
+++ b/contrib/ci/run
@@ -217,15 +217,15 @@ function build_debug()
     mv "$test_dir" ci-test-dir
     ((status == 0))
 
-    if "$MODERATE"; then
-        if "$DEPS_INTGCHECK_SATISFIED"; then
-            printf -v intgcheck_configure_args " %q" \
-                        "${CONFIGURE_ARG_LIST[@]}"
-            stage make-intgcheck make -j $CPU_NUM intgcheck \
-                                      INTGCHECK_CONFIGURE_FLAGS=" \
-                                        $intgcheck_configure_args"
-        fi
+    if "$DEPS_INTGCHECK_SATISFIED"; then
+        printf -v intgcheck_configure_args " %q" \
+                    "${CONFIGURE_ARG_LIST[@]}"
+        stage make-intgcheck make -j $CPU_NUM intgcheck \
+                                  INTGCHECK_CONFIGURE_FLAGS=" \
+                                    $intgcheck_configure_args"
+    fi
 
+    if "$MODERATE"; then
         test_dir_distcheck=`mktemp --directory /dev/shm/ci-test-dir.XXXXXXXX`
         # Single thread due to https://fedorahosted.org/sssd/ticket/2354
         status=0
-- 
2.1.4


_______________________________________________
sssd-devel mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to