Changeset cf641a6 in rtems-tools


Ignore:
Timestamp:
Apr 10, 2018, 3:59:43 AM (14 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
b7c4753
Parents:
c5286cd
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/rt/bsps.py

    rc5286cd rcf641a6  
    11#
    22# RTEMS Tools Project (http://www.rtems.org/)
    3 # Copyright 2013-2014 Chris Johns (chrisj@rtems.org)
     3# Copyright 2013-2018 Chris Johns (chrisj@rtems.org)
    44# All rights reserved.
    55#
     
    3434
    3535def list(opts):
    36     path_ = opts.defaults.expand('%%{_configdir}/bsps/*.mc')
     36    path_ = opts.defaults.expand('%%{_configdir}/bsps/*.ini')
    3737    bsps = path.collect_files(path_)
    3838    log.notice(' BSP List:')
    3939    for bsp in bsps:
    40         log.notice('  %s' % (path.basename(bsp[:-3])))
     40        log.notice('  %s' % (path.basename(bsp[:-4])))
    4141    raise error.exit()
Note: See TracChangeset for help on using the changeset viewer.