[rtems-tools commit] tester: List .ini files for BSPs with --list-bsps.

Chris Johns chrisj at rtems.org
Tue Apr 10 04:00:15 UTC 2018


Module:    rtems-tools
Branch:    master
Commit:    cf641a688d10098d275cf20db1429e7ecabf8779
Changeset: http://git.rtems.org/rtems-tools/commit/?id=cf641a688d10098d275cf20db1429e7ecabf8779

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Apr 10 13:59:43 2018 +1000

tester: List .ini files for BSPs with --list-bsps.

---

 tester/rt/bsps.py | 6 +++---
 1 file 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 at rtems.org)
+# Copyright 2013-2018 Chris Johns (chrisj at 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()



More information about the vc mailing list