diff options
Diffstat (limited to 'testing/command.py')
-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) |