diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-01-12 12:54:58 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-01-12 12:56:33 +0100 |
commit | 26c046e521c38bbfc3a263782a3bb74a7c1bf937 (patch) | |
tree | 53620f55a3c69c6a9067f3a213301f0e2c27fab0 /testing | |
parent | e3837eabc5b01d49c79dcf968fce965b5e22ac2f (diff) | |
parent | 73594da7ba14a5847e14ab871adb5b9ffe3d10dd (diff) |
Merge remote-tracking branch 'origin/5.6' into 5.9
Change-Id: I18387b329e61646e8d68e678140b533281e359cd
Diffstat (limited to 'testing')
-rw-r--r-- | testing/command.py | 8 |
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) |