make/testing_flags: delete log files before running itests, print date
This commit makes sure old log files are deleted before running the integration tests. Previously new logs would be added to the existing ones, causing a big mess. This was especially messy during flake hunting, as all logs would be kept. In addition, we now print the date before every start of the integration tests, which is useful to see how long they have been running, for instance in case of a deadlock.
This commit is contained in:
parent
bc22fc9b63
commit
2313eb2c7b
@ -44,4 +44,4 @@ endif
|
|||||||
|
|
||||||
# Construct the integration test command with the added build flags.
|
# Construct the integration test command with the added build flags.
|
||||||
ITEST_TAGS := $(TEST_TAGS) rpctest
|
ITEST_TAGS := $(TEST_TAGS) rpctest
|
||||||
ITEST := $(GOTEST) -tags="$(ITEST_TAGS)" $(TEST_FLAGS) -logoutput
|
ITEST := rm output*.log; date; $(GOTEST) -tags="$(ITEST_TAGS)" $(TEST_FLAGS) -logoutput
|
||||||
|
Loading…
Reference in New Issue
Block a user