bind9/bin/tests
Michał Kępień 3c9384eebb Allow retaining system test output using an environment variable
Instead of exporting an environment variable containing a command line
argument (NOCLEAN="-n"), extend run.sh to handle a "boolean" environment
variable (SYSTEMTEST_NO_CLEAN) itself.  The former method is buggy
because the value of NOCLEAN is set in parallel.mk when that file is
first created, but it is not subsequently updated upon each test run
(because make considers parallel.mk to be up to date).

To retain backward compatibility, the "-n" command line argument for
run.sh is still supported (and has a higher priority than the relevant
environment variable).

The SYSTEMTEST_NO_CLEAN environment variable can also be used directly
to prevent cleanup when using "make test" instead of runall.sh.

Apart from fixing a bug, this simplifies the way runall.sh controls
run.sh behavior due to the Makefile being bypassed.  Direct processing
of environment variables in run.sh is more scalable in the long run,
given that the previously utilized technique, even with its
implementation fixed, would still require Makefile.in to be modified in
two places each time a new flag needed to be passed from runall.sh to
run.sh.

(cherry picked from commit 3862043879)
2018-02-24 17:35:57 -08:00
..
atomic Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
bigtest Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
db Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
dnssec-signzone Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
dst Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
hashes Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
master Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
mem Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
names Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
net Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
pkcs11 Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
rbt Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
resolver Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
sockaddr Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
startperf Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
system Allow retaining system test output using an environment variable 2018-02-24 17:35:57 -08:00
tasks Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
timers Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
virtual-time Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
win32 [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
.gitignore [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
adb_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
b8t.mk Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
b9t.mk Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
backtrace_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
byaddr_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
byname_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
cfg_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
db_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
entropy2_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
entropy_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
fromhex.pl Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
fsaccess_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
hash_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
headerdep_test.sh.in Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
inter_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
Kchild.example.+003+04017.key Add a lame SIG(0) test program, since apparently there is someone else trying 2000-08-22 01:11:53 +00:00
Kchild.example.+003+04017.private Add a lame SIG(0) test program, since apparently there is someone else trying 2000-08-22 01:11:53 +00:00
keyboard_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
lex_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
lfsr_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
log_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
Makefile.in Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
makejournal.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
master_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
mempool_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
name_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
named.conf Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
ndc.conf Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
ndc.conf-include Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
nsecify.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
ratelimiter_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
rbt_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
rbt_test.out node joining no longer happens on deletion 2001-03-08 01:39:10 +00:00
rbt_test.txt Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
resolv.conf.sample Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
rwlock_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
serial_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
shutdown_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
sig0_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
sock_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
sym_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
t_api.pl Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
task_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
timer_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
wire_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
wire_test.data Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your 2000-08-01 01:33:37 +00:00
wire_test.data2 add more wire tests, yeay 1999-04-30 01:56:52 +00:00
wire_test.data3 add more wire tests, yeay 1999-04-30 01:56:52 +00:00
wire_test.data4 add more wire tests, yeay 1999-04-30 01:56:52 +00:00
zone_test.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00