]> rtime.felk.cvut.cz Git - wvtest.git/log
wvtest.git
15 years agowvtestrunner: catch segfaults in the subprogram.
Avery Pennarun [Mon, 24 Nov 2008 22:28:39 +0000 (17:28 -0500)]
wvtestrunner: catch segfaults in the subprogram.

wvtestrunner would notice if the subprogram returned a non-zero exit code,
but not if it died on a signal.  Thus, a unit test program dying on a
segfault was considered a success.  Oops!

(cherry picked from commit 9aff60fa6d55a46440a8e4d6bf343753b2bdc1ec)

15 years agowvtestrunner: timeouts and CRLF support.
Avery Pennarun [Wed, 10 Sep 2008 05:03:37 +0000 (01:03 -0400)]
wvtestrunner: timeouts and CRLF support.

We now time out if there are no test results for 120 seconds.  Also handle
surprise CRLFs in the input stream.

(cherry picked from commit ff9cd2868155ff91201e457008a1bfe0da3e6e40)

15 years agoReplaced wvtesthelper/meter/colour scripts with an all-new wvtestrunner.pl.
Avery Pennarun [Fri, 1 May 2009 01:02:00 +0000 (21:02 -0400)]
Replaced wvtesthelper/meter/colour scripts with an all-new wvtestrunner.pl.

This one is much smarter than previous versions: by default, it prints out
only the headers from "Testing blah blah:" lines and then prints just a "."
for each "! whatever  ok" line.  But, if a test does fail, it prints out
*all* the stdout/stderr that was produced by the test from the "Testing blah
blah" line all the way to the failing test.

It also auto-colours ok/FAILED lines, but only if stdout is a tty, so you
don't need to decide whether you want it coloured or not.

Finally, its output is actually compatible with itself: you can run a
top-level wvtestrunner and it'll further summarize the output of inner
wvtestrunners, because the complete output of a given testrunner is in a
single "Testing blah blah:" section.  But if a failure occurs, you'll still
get the more detailed results.

(cherry picked from commit 49efbe24c148d69873ca78c05e9c5825d50ef49d)

15 years agoImport wvtest for python from eqldata project.
Avery Pennarun [Fri, 1 May 2009 00:46:08 +0000 (20:46 -0400)]
Import wvtest for python from eqldata project.

Commit 5db96d703ab5a0c253d09d0cbcfd56646eaffbfe.

15 years agoImport latest wvtest for C#/.NET from versaplex project.
Avery Pennarun [Fri, 1 May 2009 00:42:44 +0000 (20:42 -0400)]
Import latest wvtest for C#/.NET from versaplex project.

Commit 8f939de8b03b0e0236a182543af0298bb6b97c52.

15 years agoImport basic C++ wvtest from wvstreams project.
Avery Pennarun [Fri, 1 May 2009 01:08:13 +0000 (21:08 -0400)]
Import basic C++ wvtest from wvstreams project.

Commit was 333349d03e15b0081c7141f7164bacc2e1fb196a.

15 years agoInitial .gitignore.
Avery Pennarun [Fri, 1 May 2009 01:06:21 +0000 (21:06 -0400)]
Initial .gitignore.