Browse Source

Makefile: fix make check so we can run in parallel.

And make travis use -j for `make check`

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
pull/2938/head
Rusty Russell 5 years ago
parent
commit
bc23baf895
  1. 2
      .travis/build.sh
  2. 4
      Makefile

2
.travis/build.sh

@ -45,7 +45,7 @@ if [ "$SOURCE_CHECK_ONLY" == "false" ]; then
echo -en 'travis_fold:end:script.2\\r'
echo -en 'travis_fold:start:script.3\\r'
make check
make -j$PYTEST_PAR check
echo -en 'travis_fold:end:script.3\\r'
else
git clone https://github.com/lightningnetwork/lightning-rfc.git

4
Makefile

@ -247,9 +247,7 @@ endif
check-units:
check: check-units
$(MAKE) installcheck
$(MAKE) pytest
check: check-units installcheck pytest
pytest: $(ALL_PROGRAMS)
ifeq ($(PYTEST),)

Loading…
Cancel
Save