Project

General

Profile

Actions

Bug #2214

closed

osmo-gsm-tester.py -t option is broken

Added by neels almost 7 years ago. Updated over 6 years ago.

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.

Actions #1

Updated by laforge almost 7 years ago

  • Assignee deleted (118)
Actions #2

Updated by laforge almost 7 years ago

  • Assignee set to 55360
Actions #3

Updated by neels almost 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by laforge over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)