Actions
Bug #2214
closedosmo-gsm-tester.py -t option is broken
Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04/27/2017
Due date:
% Done:
100%
Spec Reference:
Description
root@apu-roh:/usr/local/src/osmo-gsm-tester/src# ./osmo-gsm-tester.py /var/tmp/osmo-gsm-tester/trial-20 -t mo_mt combinations: None series: None trials: ['/var/tmp/osmo-gsm-tester/trial-20'] tests: ['mo_mt'] Running default suites: sms:sysmo sms:trx sms:octphy Traceback (most recent call last): File "./osmo-gsm-tester.py", line 133, in <module> for suite_run in suite_runs: NameError: name 'suite_runs' is not defined
The suite_runs existed before, and was replaced by suite_scenarios.
Figuring out which tests match the given name needs to be done differently, probably by suite.py:load() using the SuiteDefinition.
Note that test selection in suite.py in SuiteRun.run_tests() is very strict, only allows exact matches.
The loop at osmo-gsm-tester.py:133 serves to resolve a shorter name to any test name that contains the shorter name.
Added bonus: make sure this is properly documented.
Updated by neels almost 7 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Actions