Ben Noordhuis
99065bb235
test: fix tap output check
...
Only report as an error when status != 0.
Stops the platform_output test from being reported as having failed
on Jenkins.
This is a back-port of commit 1821bba from the master branch.
2013-03-05 15:39:40 +01:00
Timothy J Fontaine
23b93474b1
test: don't rewind_cursor when using tap_output
...
This is a back-port of commit 72bbf5d from the master branch.
2013-02-26 02:04:25 +01:00
Timothy J Fontaine
5d57f42ed3
test: add tap output
...
Given UV_TAP_OUTPUT being set, test result output should use TAP formatting
This is a back-port of commit bfe269b from the master branch.
Conflicts:
test/runner-unix.c
2013-02-26 02:03:26 +01:00
Maciej Małecki
c92788e503
test: fix test runner progress bar
...
Make % completed indicator actually show % completed instead of 0 %.
2012-06-09 18:09:26 +02:00
Ben Noordhuis
34445d0741
test: remove stale UNIX socket before running test
...
Fixes spurious test and benchmark failures.
2012-05-26 01:42:40 +02:00
Ben Noordhuis
ad024040fc
test: prevent accidental division by zero
2012-05-07 16:41:05 +02:00
Ben Noordhuis
6031156602
test: silence compiler warning
...
main_proc is never read without having been initialized first but gcc 4.4.x
fails to infer that.
2012-03-15 16:09:06 +01:00
Bert Belder
0d6aa2a2e5
Windows: output newline before output from passed tests
2012-03-09 17:15:00 +01:00
Bert Belder
e99fba47c8
Merge remote-tracking branch 'origin/v0.6'
...
Conflicts:
src/win/pipe.c
test/run-tests.c
2012-03-09 16:41:12 +01:00
Bert Belder
743cab9f9d
Test runner: avoid process_wait failure when the test process didn't start
2012-03-08 16:44:30 +01:00
Maciej Małecki
b06da4cbab
test: make test runner return non-zero in case of failure
2011-12-12 02:08:28 +01:00
Bruce Mitchener
d513d9bb41
Fix typos.
2011-11-30 14:35:13 +01:00
Igor Zinkovsky
3d189de699
platform api
2011-12-14 17:50:36 -08:00
Ben Noordhuis
7dda111306
test, bench: add --list option to runners, prints available tests
2011-08-06 23:57:28 +02:00
Ben Noordhuis
7fbe0c3882
test: run-tests helper_name runs helper in same process
...
Fixes #116 .
2011-07-21 19:02:19 +02:00
Ryan Dahl
685c083c79
Only sleep on 'make bench' not on 'make test'
2011-07-20 12:18:07 -07:00
Ben Noordhuis
eb5e00fd1b
runner: give helpers a chance to clean up after the test.
...
Fixes #50 .
2011-07-20 21:13:00 +02:00
Ryan Dahl
abf854597b
Don't output progress in 'make bench'
...
Fixes #115 .
2011-07-20 11:44:10 -07:00
Ben Noordhuis
9aff11026b
runner: bring back benchmark output
2011-07-14 03:33:56 +02:00
Ben Noordhuis
a29b2099ac
Make it possible to run individual tests.
...
Fixes #100 .
2011-07-14 02:19:36 +02:00
Ryan Dahl
6d07c0d522
benchmarks should print helper output too
2011-06-09 19:45:19 +02:00
Ryan Dahl
b2df6d9a99
Increase racy sleep to make some tests pass
2011-06-08 15:18:03 +02:00
Ryan Dahl
3ee60b7351
test runner separator should be paired with progress bar
2011-06-07 14:23:40 +02:00
Bert Belder
d5b3ae0f58
usleep -> uv_sleep
2011-05-27 19:41:34 +02:00
Ryan Dahl
7e34b7bdfc
runner: insert little delay after starting helpers
2011-05-27 01:47:42 -07:00
Igor Zinkovsky
9fc8a7f167
Adds uv_get_exepath API
...
Only works on Linux, Mac, Windows currently.
2011-05-24 08:40:27 -07:00
Ryan Dahl
9f652d4729
Benchmarks print their own name
2011-05-09 21:39:02 -07:00
Ryan Dahl
8c6c48595a
Make test runner better.
...
Probably screws up windows.
Fixes #30 .
2011-04-28 15:19:11 -04:00
Bert Belder
5275b036b0
Benchmark runner
2011-04-19 04:47:21 +02:00
Ryan Dahl
cf4fbc0925
Add copyright headers, license file.
...
closes #17 .
2011-04-18 11:11:30 -07:00
Bert Belder
a3be5339e2
Rename test-runner to just runner
...
And a minor fix to the VS solution.
2011-04-18 14:44:01 +02:00