diff options
author | Vijay Kumar Banerjee <vijaykumar9597@gmail.com> | 2019-05-20 16:53:51 +0530 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-05-21 15:53:38 +1000 |
commit | 9f197dea76995fc2916884e341fb385775e39d2c (patch) | |
tree | dac3cd4fd1edb31e36f0bebfbab43d73fd1542fc /tester/rt | |
parent | 925448a4527ec1a88b800dbeca8b90ccb365b38e (diff) |
rtemstoolkit/path : Add listdir function
Diffstat (limited to 'tester/rt')
-rw-r--r-- | tester/rt/coverage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tester/rt/coverage.py b/tester/rt/coverage.py index bdf3c5f..31e2cd7 100644 --- a/tester/rt/coverage.py +++ b/tester/rt/coverage.py @@ -215,7 +215,7 @@ class report_gen_html: for symbol_set in self.symbol_sets: symbol_set_dir = path.join(self.build_dir, self.bsp + '-coverage', symbol_set) - html_files = os.listdir(symbol_set_dir) + html_files = path.listdir(symbol_set_dir) for html_file in html_files: html_file = path.join(symbol_set_dir, html_file) if path.exists(html_file) and 'html' in html_file: @@ -291,7 +291,7 @@ class symbol_parser(object): config.add_section('symbol-sets') config.set('symbol-sets', 'sets', sset) config.add_section(sset) - object_files = [o for o in os.listdir(self.symbol_sets[sset]) if o[-1] == 'o'] + object_files = [o for o in path.listdir(self.symbol_sets[sset]) if o[-1] == 'o'] object_paths = [] for o in object_files: object_paths.append(path.join(self.symbol_sets[sset], o)) |