Miroslav Bajtoš
2c21050956
test: add RETURN_SKIP and RETURN_TODO macros
...
Added two new flags to identify tests that are intentionally ignored
(usually because we don't want to implement the tested functionality
on current platform) and test serving as TODO list (usually indicating
that the tested functionality should be implemented on current plaform
in the near future.)
2013-05-08 15:43:54 -07:00
Timothy J Fontaine
bfe269b8a0
test: add tap output
...
Given UV_TAP_OUTPUT being set, test result output should use TAP formatting
2013-02-22 23:06:17 +01:00
Ben Noordhuis
7ff6f29b85
test, bench: ANSI-fy function prototypes
...
Replace `void f()` with `void f(void)`; the former means "a function
that takes any number of arguments, including none" while the latter
is what is actually intended: a function taking no arguments.
The first form also isn't strictly conforming ANSI/ISO C.
2013-01-06 22:31:48 +01:00
Ben Noordhuis
dcce1eab3b
test: fix -Wmissing-field-initializers warnings
2012-11-02 14:34:28 +01:00
Ben Noordhuis
4e268f7718
test: add valgrind support
...
Run tests through valgrind when UV_USE_VALGRIND=1 is set in the environment.
2012-10-01 22:53:59 +02: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
a29b2099ac
Make it possible to run individual tests.
...
Fixes #100 .
2011-07-14 02:19:36 +02:00
Igor Zinkovsky
9fc8a7f167
Adds uv_get_exepath API
...
Only works on Linux, Mac, Windows currently.
2011-05-24 08:40:27 -07:00
Bert Belder
6d09362c8e
Improve test-runner output
...
* fix rewind_cursor() for windows
* use stderr consistently
* let rewind_cursor() return void; closes #14
2011-05-04 00:41:50 +02:00
Bert Belder
53f9d5a841
Allow tests and benchmarks to use the same helpers.
...
Closes #21 .
2011-04-19 14:51:10 +02: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
981616514b
More MinGW compatibility
2011-04-18 19:29:11 +02: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