make: define itest-only

'itest-only' can be used to only run integration tests, not build any of
the dependencies. This is useful on travis, where manually executing
each command makes it easier to track the time spent on each.
This commit is contained in:
Johan T. Halseth 2018-10-11 10:31:04 +02:00
parent c6ee2803ad
commit 23c858576f
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

View File

@ -149,10 +149,12 @@ scratch: dep build
check: unit itest
itest: btcd build
itest-only:
@$(call print, "Running integration tests.")
$(ITEST)
itest: btcd build itest-only
unit: btcd
@$(call print, "Running unit tests.")
$(UNIT)
@ -242,6 +244,7 @@ clean:
install \
scratch \
check \
itest-only \
itest \
unit \
unit-cover \