[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 246/264: tests: make runtests check that disabled tests exists
From: |
gnunet |
Subject: |
[gnurl] 246/264: tests: make runtests check that disabled tests exists |
Date: |
Thu, 30 Apr 2020 16:09:09 +0200 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit 75e8feb6fb08b1e5849f5b05a7e815b234685f16
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Apr 24 11:21:01 2020 +0200
tests: make runtests check that disabled tests exists
... and error out if so. Removed '536' from DISABLED as there is no such
test file.
Closes #5288
---
tests/data/DISABLED | 1 -
tests/runtests.pl | 8 +++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests/data/DISABLED b/tests/data/DISABLED
index 9b3af1acf..198728fdf 100644
--- a/tests/data/DISABLED
+++ b/tests/data/DISABLED
@@ -22,7 +22,6 @@
1307
# Pipelining is deprecated
530
-536
584
1900
1901
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 1c6a028b9..d43b2772b 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -5492,7 +5492,13 @@ sub disabledtests {
next;
}
if($_ =~ /(\d+)/) {
- $disabled{$1}=$1; # disable this test number
+ my ($n) = $1;
+ $disabled{$n}=$n; # disable this test number
+ if(! -f "data/test$n") {
+ print STDERR "WARNING! Non-exiting test $n in DISABLED!\n";
+ # fail hard to make user notice
+ exit 1;
+ }
}
}
close(D);
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 195/264: docs/MQTT: replace confusing 80 by 75, (continued)
- [gnurl] 195/264: docs/MQTT: replace confusing 80 by 75, gnunet, 2020/04/30
- [gnurl] 193/264: KNOWN_BUGS: Add entry 'Blocking socket operations', gnunet, 2020/04/30
- [gnurl] 215/264: runtests: dummy init the ports variables to avoid warnings, gnunet, 2020/04/30
- [gnurl] 216/264: src: Remove C99 constructs to ensure C89 compliance, gnunet, 2020/04/30
- [gnurl] 252/264: smtp: set auth correctly, gnunet, 2020/04/30
- [gnurl] 250/264: libssh: avoid options override by configuration files, gnunet, 2020/04/30
- [gnurl] 191/264: sockfilt: fix broken pipe on Windows to be ready in select_ws, gnunet, 2020/04/30
- [gnurl] 224/264: mqtt: improve the state machine, gnunet, 2020/04/30
- [gnurl] 219/264: add more alt-svc test coverage, gnunet, 2020/04/30
- [gnurl] 218/264: test1247: use http server to get the port number set, gnunet, 2020/04/30
- [gnurl] 246/264: tests: make runtests check that disabled tests exists,
gnunet <=
- [gnurl] 200/264: mqttd: s/errno/SOCKERRNO, gnunet, 2020/04/30
- [gnurl] 201/264: appveyor: add Unicode winbuild jobs, gnunet, 2020/04/30
- [gnurl] 199/264: buildconf: use find -execdir instead, remove -print and the ares files, gnunet, 2020/04/30
- [gnurl] 197/264: copyright: bump the copyright year range, gnunet, 2020/04/30
- [gnurl] 202/264: libssh: Use new ECDSA key types to check known hosts, gnunet, 2020/04/30
- [gnurl] 198/264: buildconf: avoid using tempfile when removing files, gnunet, 2020/04/30
- [gnurl] 256/264: copyright updates: adjust year ranges, gnunet, 2020/04/30
- [gnurl] 255/264: CI: do not include */ci branches in PR builds, gnunet, 2020/04/30
- [gnurl] 254/264: runtests: check for the disabled tests relative srcdir, gnunet, 2020/04/30
- [gnurl] 253/264: runtests: revert commenting out a line I did for debugging, gnunet, 2020/04/30