Commit Graph

6 Commits

Author SHA1 Message Date
brian m. carlson
86de9c670f t: add an environment variable to dump test output
When running tests, it's sometimes helpful to see verbose output from a
test even when it succeeds.  This can be useful to compare to a failure
on another system to determine the relevant differences between the
systems.  Add support for reading an environment variable,
LFS_DUMP_TEST_OUTPUT, that if set to a nonempty string causes the
verbose test output to be printed.  Continue printing verbose output
automatically if an assertion fails.
2018-09-18 20:48:18 +00:00
Taylor Blau
558bb5df8d t/testlib.sh: run atexit on more traps 2018-07-11 13:18:25 -05:00
Taylor Blau
1926e94297 t/cmd/lfstest-count-tests.go: initial commit 2018-07-11 13:18:15 -05:00
Taylor Blau
de9152049c t: load shell scripts from $(dirname) instead of 't' 2018-07-10 13:51:40 -05:00
Taylor Blau
869a630671 t/testlib.sh: print using TAP-style 2018-07-09 16:24:25 -05:00
Taylor Blau
7b1420243e test: move to 'test' to 't'
By default, the prove(1) program looks for tests to run in the 't'
directory at the repository root, so let's put existing tests there in
order to remove a non-default argument from prove.
2018-07-09 16:07:32 -05:00