mirror of https://github.com/ARMmbed/mbed-os.git
Bugfixiong after modification in -r and -R options
parent
41f703c594
commit
1a7c96d10b
|
@ -407,7 +407,7 @@ def get_avail_tests_summary_table(cols=None, result_summary=True, join_delim=','
|
|||
counter_dict_test_id_types = dict((t, 0) for t in unique_test_id)
|
||||
counter_dict_test_id_types_all = dict((t, 0) for t in unique_test_id)
|
||||
|
||||
test_properties = ['id', 'automated', 'description', 'peripherals', 'host_test', 'duration', 'mcu'] if cols is None else cols
|
||||
test_properties = ['id', 'automated', 'description', 'peripherals', 'host_test', 'duration'] if cols is None else cols
|
||||
|
||||
# All tests status table print
|
||||
pt = PrettyTable(test_properties)
|
||||
|
|
|
@ -847,14 +847,14 @@ GROUPS.update(TEST_GROUPS)
|
|||
|
||||
class Test:
|
||||
DEFAULTS = {
|
||||
'mcu': None,
|
||||
#'mcu': None,
|
||||
'description': None,
|
||||
'dependencies': None,
|
||||
'duration': 10,
|
||||
'host_test': 'host_test',
|
||||
'automated': False,
|
||||
'peripherals': None,
|
||||
'supported': None,
|
||||
#'supported': None,
|
||||
'source_dir': None,
|
||||
'extra_files': None
|
||||
}
|
||||
|
@ -871,7 +871,7 @@ class Test:
|
|||
return (target in self.supported) and (toolchain in self.supported[target])
|
||||
|
||||
def get_description(self):
|
||||
if hasattr(self, 'description'):
|
||||
if self.description:
|
||||
return self.description
|
||||
else:
|
||||
return self.id
|
||||
|
|
Loading…
Reference in New Issue