aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-05-23 17:40:23 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-05-24 12:02:43 +0000
commit5bf66c57d69030829689ad4831dbcdc9ceec95eb (patch)
tree42357953281847825d294143840821b2c85dc683
parent98df394fc6b848025fc3befe341f55c934effe20 (diff)
trial.py: Remove accidental double creation of file
This file is already created in run_suites(). Creating it in here too makes a new file name()_2.xml created and populated instead of the original name().xml one. Change-Id: Ibec14a1ef5fd029aa37ce666d00236bb872d636e
-rw-r--r--selftest/trial_test.ok2
-rw-r--r--src/osmo_gsm_tester/trial.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/selftest/trial_test.ok b/selftest/trial_test.ok
index 7434a10..6ad39a9 100644
--- a/selftest/trial_test.ok
+++ b/selftest/trial_test.ok
@@ -4,7 +4,7 @@
[TMP]/third
- fetch trial dirs in order
first
-['last_run', 'run.[TIMESTAMP]', 'taken']
+['taken']
second
third
- no more trial dirs left
diff --git a/src/osmo_gsm_tester/trial.py b/src/osmo_gsm_tester/trial.py
index 67746f7..3eb0c67 100644
--- a/src/osmo_gsm_tester/trial.py
+++ b/src/osmo_gsm_tester/trial.py
@@ -63,7 +63,6 @@ class Trial(log.Origin):
self.inst_dir = util.Dir(self.dir.child('inst'))
self.bin_tars = []
self.suites = []
- self.junit_path = self.get_run_dir().new_file(self.name()+'.xml')
self.status = Trial.UNKNOWN
def __repr__(self):