aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-01-12 12:54:58 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-01-12 12:56:33 +0100
commit26c046e521c38bbfc3a263782a3bb74a7c1bf937 (patch)
tree53620f55a3c69c6a9067f3a213301f0e2c27fab0 /testing
parente3837eabc5b01d49c79dcf968fce965b5e22ac2f (diff)
parent73594da7ba14a5847e14ab871adb5b9ffe3d10dd (diff)
Merge remote-tracking branch 'origin/5.6' into 5.9
Diffstat (limited to 'testing')
-rw-r--r--testing/command.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/command.py b/testing/command.py
index 67dd05a03..dd348432c 100644
--- a/testing/command.py
+++ b/testing/command.py
@@ -96,6 +96,14 @@ if (os.environ.get("COIN_RERUN_FAILED_ONLY", "1").lower() in
def test_project(project, args, blacklist, runs):
ret = []
+
+ # remove files from a former run
+ for idx in range(runs):
+ index = idx + 1
+ runner = TestRunner(builds.selected, project, index)
+ if os.path.exists(runner.logfile) and not args.skip:
+ os.unlink(runner.logfile)
+ # now start the real run
for idx in range(runs):
index = idx + 1
runner = TestRunner(builds.selected, project, index)