[RTEMS Project] #4699: tester: Cannot run tests for user-defined BSP

RTEMS trac trac at rtems.org
Tue Aug 9 08:59:37 UTC 2022


#4699: tester: Cannot run tests for user-defined BSP
------------------------------+--------------------
  Reporter:  Sebastian Huber  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  normal           |  Milestone:  7.1
 Component:  tool             |    Version:  6
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
------------------------------+--------------------
 The RTEMS Tester has a `--user-config` option to allow the user to
 customize the test run. The user can only customize BSPs which ship with
 the RTEMS Tester because
 {{{
 def load(bsp, opts):
     mandatory = ['bsp', 'arch', 'tester']
     cfg = configuration.configuration()
     path_ = opts.defaults.expand('%%{_configdir}/bsps/%s.ini' % (bsp))
     ini_name = path.basename(path_)
     for p in path.dirname(path_).split(':'):
         if path.exists(path.join(p, ini_name)):
 }}}
 requires that an INI file is present in the RTEMS Tester installation. For
 example:
 {{{
 rtems-test --user-config=/tmp/simulator.ini --rtems-bsp=simulator /tmp
 RTEMS Testing - Tester, 6.0.not_released
  Command Line: /opt/rtems/6/bin/rtems-test --user-
 config=/tmp/simulator.ini --rtems-bsp=simulator /tmp
  Host: Linux lupus 5.3.18-150300.59.87-default #1 SMP Thu Jul 21 14:31:28
 UTC 2022 (cc90276) x86_64
  Python: 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC]
 Host: Linux-5.3.18-150300.59.87-default-x86_64-with-glibc2.3.4 (Linux
 lupus 5.3.18-150300.59.87-default #1 SMP Thu Jul 21 14:31:28 UTC 2022
 (cc90276) x86_64 x86_64)
 error: cannot find bsp configuration file: simulator.ini
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4699>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list