[Libguestfs] [libnbd PATCH v2 21/23] ci: Only run `make check` on Linux

Martin Kletzander mkletzan at redhat.com
Thu Jun 10 23:12:25 UTC 2021


This is a temporary test suspension, it does not completely work on other
systems as of now.

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 ci/build.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ci/build.sh b/ci/build.sh
index ed3646ea969e..7d62a84a5d4b 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -32,6 +32,12 @@ main() {
         return 0
     fi
 
+    if test "$(uname)" != "Linux"
+    then
+        echo "Tests are temporarily skipped on non-Linux platforms"
+        return 0
+    fi
+
     # Add a way to run all the tests, even the skipped ones, with an environment
     # variable, so that it can be set fora branch or fork in GitLab.
     if test "$SKIPPED_TESTS" != "force"
-- 
2.32.0




More information about the Libguestfs mailing list