]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests: also show DISABLED tests with -l
authorDan Fandrich <dan@coneharvesters.com>
Sat, 8 Apr 2023 19:11:26 +0000 (12:11 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 11 Apr 2023 21:55:32 +0000 (14:55 -0700)
Other reasons for skipping tests are ignored for -l, so being explicitly
disabled should be too.

tests/runtests.pl

index 8f926fa215d36876d4f5b46a054970de21f7c0c2..84eef3cb0e595efffdc51db7a1f4d3ec7a409963 100755 (executable)
@@ -6005,10 +6005,10 @@ init_serverpidfile_hash();
 if(!$listonly) {
     unlink($memdump);  # remove this if there was one left
     checksystemfeatures();
-}
 
-# globally disabled tests
-disabledtests("$TESTDIR/DISABLED");
+    # globally disabled tests
+    disabledtests("$TESTDIR/DISABLED");
+}
 
 #######################################################################
 # Fetch all disabled tests, if there are any