From 2313eb2c7b42000ce7a94eea36416436115fc701 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Wed, 9 May 2018 10:02:30 +0200 Subject: [PATCH] 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. --- make/testing_flags.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/testing_flags.mk b/make/testing_flags.mk index a9de0c88f..0180f85bd 100644 --- a/make/testing_flags.mk +++ b/make/testing_flags.mk @@ -44,4 +44,4 @@ endif # Construct the integration test command with the added build flags. 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