chiark / gitweb /
test-common: Framework for compatibility tests
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 6 Dec 2019 23:00:53 +0000 (23:00 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Dec 2019 21:53:43 +0000 (21:53 +0000)
commit7b8a094aed9b4005fbb7f3a0771b42321f2347a2
tree80a6e8b739e4b165e5a5db62eb16789c36a6d4f3
parent72fb649f07c643031e1c58f06f3da3de305f4ff0
test-common: Framework for compatibility tests

Now normal tests must start with a letter.  Ones starting with C
require OLD_SECNET_DIR.  (Right now that must be both source and build
dir because it's tedious to have to distinguish them and pass both.)

Update comprehensive-test to (i) notice if the user forgot to set
this (ii) make it into an absolute path.  Note that comprehensive-test
therefore has a different default to `make check': If OLD_SECNET_DIR
is not set, `make check' will do none of those tests, but
comprehensive-test will complain (and wants "" to disable those
tests).

We do not need to print this variable in our debugging output about
how we are running secnet (or how the user who specifies _DIVERT_=i
should run it).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
comprehensive-test
stest/common.tcl
test-common.sd.mk