aboutsummaryrefslogtreecommitdiffstats
path: root/selftest/resource_test
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-05-25 13:26:41 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-05-25 13:33:50 +0200
commit66ef9457cba0c2b311a7f57a5dc2a4b68a00e0cb (patch)
tree38fed3fce6fa20d2c79145138734a252d2983401 /selftest/resource_test
parent3a0dea682e73c605c2a4d45f0e7a8a39fba3bb6b (diff)
config: suites_dir and scenarios_dir are now a list of paths
This allows inheriting suites or scenarios from eg. sysmocom/ dir, while still allowing to apply new suites and scenarios on top. Change-Id: Icecdae32d400a6b6da2ebf167c1c795f7a74ae96
Diffstat (limited to 'selftest/resource_test')
-rw-r--r--selftest/resource_test/conf/paths.conf2
-rw-r--r--selftest/resource_test/resource_test.ok4
2 files changed, 3 insertions, 3 deletions
diff --git a/selftest/resource_test/conf/paths.conf b/selftest/resource_test/conf/paths.conf
index 0b2d035..3280a12 100644
--- a/selftest/resource_test/conf/paths.conf
+++ b/selftest/resource_test/conf/paths.conf
@@ -1,2 +1,2 @@
state_dir: ./test_work/state_dir
-suites_dir: ./suite_test
+suites_dir: ['./suite_test']
diff --git a/selftest/resource_test/resource_test.ok b/selftest/resource_test/resource_test.ok
index 0ad760e..91acaaf 100644
--- a/selftest/resource_test/resource_test.ok
+++ b/selftest/resource_test/resource_test.ok
@@ -14,9 +14,9 @@ cnf -: DBG: MAIN CONFIG:
{'default_suites_conf_path': '[PATH]/selftest/resource_test/conf/default-suites.conf',
'defaults_conf_path': '[PATH]/selftest/resource_test/conf/defaults.conf',
'resource_conf_path': '[PATH]/selftest/resource_test/conf/resources.conf',
- 'scenarios_dir': '[PATH]/selftest/resource_test/conf/scenarios',
+ 'scenarios_dir': ['[PATH]/selftest/resource_test/conf/scenarios'],
'state_dir': '[PATH]/selftest/resource_test/conf/test_work/state_dir',
- 'suites_dir': '[PATH]/selftest/resource_test/conf/suite_test',
+ 'suites_dir': ['[PATH]/selftest/resource_test/conf/suite_test'],
'trial_dir': '[PATH]/selftest/resource_test/conf/trial'}
*** all resources:
{'arfcn': [{'_hash': 'e620569450f8259b3f0212ec19c285dd07df063c',