Changeset 3d803af in rtems


Ignore:
Timestamp:
Apr 19, 2017, 3:01:26 AM (2 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
7f95cc0
Parents:
4fd25c4
Message:

testsuite: Fix rtems-test-check-py when a BSP has no tcfg file.

Updates #2981.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/build/rtems-test-check-py

    r4fd25c4 r3d803af  
    4747tests = sys.argv[args + 5:]
    4848
     49if verbose:
     50    eprint('cmd: %s' % (' '.join(sys.argv)))
     51
    4952#
    5053# Handle the modes.
     
    8386if verbose:
    8487    eprint('mode: %s' % (mode))
    85     eprint('testconfig: %s' % (', '.join(testconfig)))
     88    eprint('testconfig: %r' % (testconfig))
     89    eprint('testconfig: %s' % (', '.join([x for x in testconfig if x is not None])))
    8690    eprint('includepaths: %s' % (includepaths))
    8791    eprint('bsp: %s' % (bsp))
     
    101105    tc = testconfig[0]
    102106    testconfig.remove(tc)
     107    if tc is None:
     108        continue
    103109    if verbose:
    104110        eprint('reading: %s' % (tc))
Note: See TracChangeset for help on using the changeset viewer.