diff options
author | Chris Johns <chrisj@rtems.org> | 2018-04-10 13:59:43 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-04-10 13:59:43 +1000 |
commit | cf641a688d10098d275cf20db1429e7ecabf8779 (patch) | |
tree | 705723061cf0cc2c136ca8eff7c1f12f8c9d99f3 | |
parent | waf: Add getcwd() to sys.path as waf has changed. (diff) | |
download | rtems-tools-cf641a688d10098d275cf20db1429e7ecabf8779.tar.bz2 |
tester: List .ini files for BSPs with --list-bsps.
-rw-r--r-- | tester/rt/bsps.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tester/rt/bsps.py b/tester/rt/bsps.py index 91f5f62..eabdba5 100644 --- a/tester/rt/bsps.py +++ b/tester/rt/bsps.py @@ -1,6 +1,6 @@ # # RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2013-2014 Chris Johns (chrisj@rtems.org) +# Copyright 2013-2018 Chris Johns (chrisj@rtems.org) # All rights reserved. # # This file is part of the RTEMS Tools package in 'rtems-tools'. @@ -33,9 +33,9 @@ from rtemstoolkit import log from rtemstoolkit import path def list(opts): - path_ = opts.defaults.expand('%%{_configdir}/bsps/*.mc') + path_ = opts.defaults.expand('%%{_configdir}/bsps/*.ini') bsps = path.collect_files(path_) log.notice(' BSP List:') for bsp in bsps: - log.notice(' %s' % (path.basename(bsp[:-3]))) + log.notice(' %s' % (path.basename(bsp[:-4]))) raise error.exit() |