]> sjero.net Git - wget/blobdiff - tests/run-px
Automated merge.
[wget] / tests / run-px
index e1b3be74830286c05f86b2bc8e344f73696b9917..37f14324d59f535a4fb99d5d215aa46719fe9aef 100755 (executable)
@@ -5,9 +5,11 @@ die "Please specify the top source directory.\n" if (!@ARGV);
 my $top_srcdir = shift @ARGV;
 
 my @tests = (
-    'Test-proxied-https-auth.px',
-    'Test-proxy-auth-basic.px',
     'Test-auth-basic.px',
+    'Test-proxy-auth-basic.px',
+    'Test-proxied-https-auth.px',
+    'Test-N-HTTP-Content-Disposition.px',
+    'Test--spider.px',
     'Test-c-full.px',
     'Test-c-partial.px',
     'Test-c.px',
@@ -17,9 +19,9 @@ my @tests = (
     'Test-HTTP-Content-Disposition-1.px',
     'Test-HTTP-Content-Disposition-2.px',
     'Test-HTTP-Content-Disposition.px',
-    'Test-N-current-HTTP-CD.px',
     'Test-N-current.px',
-    'Test-N-HTTP-Content-Disposition.px',
+    'Test-N-smaller.px',
+    'Test-N-no-info.px',
     'Test-N--no-content-disposition.px',
     'Test-N--no-content-disposition-trivial.px',
     'Test--no-content-disposition.px',
@@ -37,10 +39,6 @@ my @tests = (
     'Test-Restrict-Lowercase.px',
     'Test-Restrict-Uppercase.px',
     'Test--spider-fail.px',
-    'Test--spider-HTTP-Content-Disposition.px',
-    'Test--spider--no-content-disposition.px',
-    'Test--spider--no-content-disposition-trivial.px',
-    'Test--spider.px',
     'Test--spider-r-HTTP-Content-Disposition.px',
     'Test--spider-r--no-content-disposition.px',
     'Test--spider-r--no-content-disposition-trivial.px',
@@ -63,3 +61,10 @@ for (my $i=0; $i != @tests; ++$i) {
     }
     print "$tests[$i]\n";
 }
+
+print "\n";
+print scalar(@results) . " tests were run\n";
+print scalar(grep $_ == 0, @results) . " PASS\n";
+print scalar(grep $_ != 0, @results) . " FAIL\n";
+
+exit scalar (grep $_ != 0, @results);