bind9/bin/tests
Michał Kępień d20a928435 Fix system test error reporting on Windows
Make sure the CYGWIN environment variable is set whenever system tests
are run on Windows to prevent stop.pl from making incorrect assumptions
about the environment it is running in, which triggers e.g. false
reports about named instances crashing on shutdown when system tests are
run on Windows.  This issue has not been caught earlier because the
CYGWIN environment variable was incidentally being set on a higher level
in our Windows test environments.

Error reporting for parallel system tests on Windows has been broken all
along: since all parallel.mk targets generated by parallel.sh pipe their
output through "tee", the return code from run.sh is lost and thus
running "make -f parallel.mk check" will not yield a non-zero return
code if some system tests fail.  The same applies to runsequential.sh.
Yet, runall.sh on Windows only sets its return code to a non-zero value
if either "make -f parallel.mk check" or runsequential.sh returns a
non-zero return code.  Fix by making runall.sh yield a non-zero return
code when testsummary.sh fails, which is the same approach as the one
used in the "test" target in bin/tests/system/Makefile.

(cherry picked from commit fed397c04b)
2019-09-27 09:16:02 +02:00
..
bigtest update file headers 2018-03-15 18:33:13 -07:00
optional address or suppress cppcheck warnings 2019-09-12 19:27:28 +10:00
pkcs11 address or suppress cppcheck warnings 2019-09-12 19:27:28 +10:00
startperf Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
system Fix system test error reporting on Windows 2019-09-27 09:16:02 +02:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:12:47 -08:00
virtual-time address win32 build issues 2018-05-22 16:32:21 -07:00
win32 Make VS solution upgrading unnecessary 2019-09-27 09:16:02 +02:00
.gitignore Remove genrandom command and all usage of specific random files throughout the system test suite 2018-05-16 09:54:35 +02:00
cfg_test.c Update documentation 2018-10-24 20:32:56 +02:00
fromhex.pl Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
headerdep_test.sh.in Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
Makefile.in add a search for GeoIP2 libraries in configure 2019-06-27 16:25:28 -07:00
makejournal.c Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
named.conf Add min-cache-ttl and min-ncache-ttl keywords 2018-11-14 18:24:53 +01:00
wire_test.c Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00