diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2017-03-02 02:23:32 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2017-03-02 02:23:32 +0300 |
commit | 8f2030325ee6edea4177c03d4ccf8076a3f78adf (patch) | |
tree | 00cb12a5e3518001fdf3d9c917e1584de84bf9e1 /cord | |
parent | 78d83f8ec6b58c0712cd82c5b47c86706607e9a2 (diff) | |
download | bdwgc-8f2030325ee6edea4177c03d4ccf8076a3f78adf.tar.gz |
Add Makefile target to run all tests without test-driver
This could be used to catch errors reported by MemorySanitizer
(the traditional "make check" shows the tests with MSan errors as
skipped, so it does not lead to a non-zero exit code of make itself).
* cord/cord.am (check-without-test-driver): New phony target (to
compile, link and execute the tests not using test-driver).
* tests/tests.am (check-without-test-driver): Likewise.
Diffstat (limited to 'cord')
-rw-r--r-- | cord/cord.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cord/cord.am b/cord/cord.am index b8794c29..4ac2da8d 100644 --- a/cord/cord.am +++ b/cord/cord.am @@ -32,3 +32,8 @@ pkginclude_HEADERS += \ include/cord.h \ include/cord_pos.h \ include/ec.h + +# Run the tests directly (without test-driver): +.PHONY: check-without-test-driver +check-without-test-driver: $(TESTS) + ./cordtest$(EXEEXT) |