|
7c926916
|
2010-07-19T15:14:10
|
|
Make test/test.sh call test-changelist
Eventually test-changelist should expand to try more cases, maybe
query the status of the actual changelist somehow, and integrate it
with the rest of the unit tests.
Also, add test-changelist to gitignore.
|
|
3689bd2d
|
2010-05-26T13:32:32
|
|
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.
|
|
faf2a04f
|
2010-05-26T13:31:41
|
|
Make test.sh exit with nonzero status if tests fail
This behavior makes "make verify" actually fail when the tests fail,
which is what it's supposed to do.
|
|
3d9e05b1
|
2010-05-08T19:56:25
|
|
Fix test.sh on freebsd
It turns out that in all conformant shells, "unset FOO" removes FOO
both from the shell's variables and from the exported environment.
(I've tested this on msys, opensolaris, linux, osx, and freebsd.)
And in nearly every shell I can find, "unset FOO; export FOO" does
the same as unset FOO... except in my FreeBSD VM, where the "export
FOO" sets the exported value of FOO equal to "". This broke test.sh
for us.
The fix is simple: remove the needless exports!
|
|
0ee6f6ce
|
2010-05-08T18:00:26
|
|
Make test.sh support mingw/msys on win32
This required:
- Adding another WIN32 section in test.sh
- not running "touch /dev/null"
- calling WSAStartup in all the test binaries
- Fixing a dumb windows-only bug in test-time.c
|
|
94131e92
|
2010-01-12T15:58:36
|
|
Fix test.sh on shells without echo -n
Some systems have a version of /bin/sh whose builtin echo doesn't
support the -n option used in test/test.sh. /bin/echo, however,
usually does. This patch makes us use /bin/echo for echo -n whenever
it is present.
Also, our use of echo -n really only made sense when suppressing all
test output. Since test output isn't suppressed when logging to a
file, this pach makes us stop using echo -n when logging to a file.
|
|
0b151a9f
|
2009-12-29T18:11:52
|
|
Whitespace fixes in test.sh
|
|
7dfbe94a
|
2009-12-29T18:07:51
|
|
Allow test.sh to be run as ./test/test.sh
|
|
c382de64
|
2009-12-29T17:59:55
|
|
Allow the user to redirect the verbose output of test/test.sh to a file
By default, the test.sh script still suppresses the output of all the
tests it invokes. Now, however, you can have that output written to
a file specified in the TEST_OUTPUT_FILE shell variable.
|
|
e9564ece
|
2007-11-07T03:40:26
|
|
r16487@catbus: nickm | 2007-11-06 22:38:44 -0500
Remove rtsig method, as discussed in July. It hasn't compiled for quite a while, and nobody has seemed to miss it much. Please let us know if this was a bad call. [Tracker issue 1826539].
svn:r485
|
|
3550be93
|
2007-09-25T15:50:50
|
|
r15331@catbus: nickm | 2007-09-25 11:46:52 -0400
Add EVPORT to test.sh script. Patch from Trond Norbye.
svn:r454
|
|
acafd994
|
2005-09-02T05:34:01
|
|
make it run on older shells; from tor user via Nick Mathewson <nickm@freehaven.net>
svn:r181
|
|
06aaa92f
|
2004-07-30T04:57:21
|
|
devpoll support
svn:r113
|
|
1d66008b
|
2003-10-05T22:02:49
|
|
make it work with more shells
svn:r86
|
|
ec70653b
|
2003-09-25T17:55:17
|
|
more tests
svn:r81
|