]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CI/cirrus: simplify logic for disabled tests
authorMarc Hoersken <info@marc-hoersken.de>
Fri, 20 Nov 2020 07:20:04 +0000 (08:20 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Fri, 20 Nov 2020 11:45:11 +0000 (12:45 +0100)
The OpenSSH server instance for the testsuite cannot
be started on FreeBSD, therefore the SFTP and SCP
tests are disabled right away from the beginning.

The previous OS version specific logic for SKIP_TESTS
is no longer needed/used and can therefore be removed.

Reviewed-by: Daniel Stenberg
Follow up to #6211
Closes #6229

.cirrus.yml

index eb4cc936625a3e25a7009f44bbad3052b24baaa5..77efa43230afc59654f2e0787557883d2612aca5 100644 (file)
@@ -64,15 +64,8 @@ task:
     # Some tests won't run if run as root so run them as another user.
     # Make directories world writable so the test step can write wherever it needs.
     - find . -type d -exec chmod 777 {} \;
-    # TODO: A number of tests are failing on different FreeBSD versions and so
-    # are disabled.  This should be investigated.
-    - SKIP_TESTS=''
-    - uname -r
-    - case `uname -r` in
-        13.0*) SKIP_TESTS='!SFTP !SCP';;
-        12.1*) SKIP_TESTS='!SFTP !SCP';;
-        11.*) SKIP_TESTS='!SFTP !SCP';;
-      esac
-    - sudo -u nobody make V=1 TFLAGS="-n -a -p !flaky ${SKIP_TESTS}" test-nonflaky
+    # The OpenSSH server instance for the testsuite cannot be started on FreeBSD,
+    # therefore the SFTP and SCP tests are disabled right away from the beginning.
+    - sudo -u nobody make V=1 TFLAGS="-n -a -p !flaky !SFTP !SCP" test-nonflaky
   install_script:
     - make V=1 install