]> granicus.if.org Git - libevent/commit
Have the unit tests report errors from test.sh
authorNick Mathewson <nickm@torproject.org>
Wed, 26 May 2010 17:32:32 +0000 (13:32 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 26 May 2010 17:43:01 +0000 (13:43 -0400)
commit3689bd2d497d8af224532282c263581ea47b6db5
tree03f6d06943f9cdc50ec4e48f052ed5724b152c78
parentfaf2a04fa5e4c44a356d635502cc7e2dbead34d3
Have the unit tests report errors from test.sh

The default behavior of test.sh was to suppress all output from
test/regress, and say nothing but OKAY or FAILED.  This wasn't so good
for getting bugs reported, since lots of people didn't know to set
TEST_OUTPUT_FILE, or re-run ./test/regress on its own.

Now, when you don't specify an output file for test.sh, it runs
regress with the --quiet option.  This option makes the unit tests
only print output on failure, which is what we probably wanted.
test/test.sh