Permalink
Browse files

GNUmakefile: add "check" target for running all tests

"check" rolls off the fingers of users familiar with GNU Automake
more easily.  The "test-all" target is preserved for compatibility.
  • Loading branch information...
1 parent 728b2c7 commit 857105657d3b651ea505f5155a1644557ac22f49 Eric Wong committed Jan 11, 2014
Showing with 3 additions and 2 deletions.
  1. +2 −1 GNUmakefile
  2. +1 −1 HACKING
View
@@ -90,7 +90,8 @@ $(slow_tests): $(test_prefix)/.stamp
test-integration: $(test_prefix)/.stamp
$(MAKE) -C t
-test-all: test test-integration
+check: test test-integration
+test-all: check
TEST_OPTS = -v
check_test = grep '0 failures, 0 errors' $(t) >/dev/null
View
@@ -28,7 +28,7 @@ file is provided for reference.
Running the entire test suite with 4 tests in parallel:
- gmake -j4 test
+ gmake -j4 check
Running just one unit test:

0 comments on commit 8571056

Please sign in to comment.