aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/osmo_nitb.py
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-06-14 13:27:08 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-17 16:10:04 +0000
commitd091233934d5b0336205421b86bc75d5032b4d7d (patch)
tree983765132d9380d4227999ba7e6a81eea113bb36 /src/osmo_gsm_tester/osmo_nitb.py
parent6c8d9497f246dc6513b7d15fbbfa5d8cf59dd8dc (diff)
Use a subdir of run_dir for each test
Processes created have the scope of the test, so we should store everything in a per-suite_run/per-test directory, otherwise everything is stored in the same trial run_dir directory and it's really messy. Change-Id: I06be2dd21710e14c1337d13b1fe6c2f68f037957
Diffstat (limited to 'src/osmo_gsm_tester/osmo_nitb.py')
-rw-r--r--src/osmo_gsm_tester/osmo_nitb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo_gsm_tester/osmo_nitb.py b/src/osmo_gsm_tester/osmo_nitb.py
index 3104842..484358e 100644
--- a/src/osmo_gsm_tester/osmo_nitb.py
+++ b/src/osmo_gsm_tester/osmo_nitb.py
@@ -39,7 +39,7 @@ class OsmoNitb(log.Origin):
def start(self):
self.log('Starting osmo-nitb')
- self.run_dir = util.Dir(self.suite_run.trial.get_run_dir().new_dir(self.name()))
+ self.run_dir = util.Dir(self.suite_run.get_test_run_dir().new_dir(self.name()))
self.configure()
inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst('osmo-nitb')))
binary = inst.child('bin', 'osmo-nitb')