diff options
author | Chris Johns <chrisj@rtems.org> | 2018-04-10 14:00:09 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-04-10 14:00:09 +1000 |
commit | b7c4753de0c17201be0ca047e2a7e320616132cb (patch) | |
tree | 49d2789f514df34be3074b0475f25ef9e7810169 | |
parent | tester: List .ini files for BSPs with --list-bsps. (diff) | |
download | rtems-tools-b7c4753de0c17201be0ca047e2a7e320616132cb.tar.bz2 |
teater: Filter out an *.norun.* executables.
-rw-r--r-- | tester/rt/test.py | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tester/rt/test.py b/tester/rt/test.py index 1a91763..f4d9b5c 100644 --- a/tester/rt/test.py +++ b/tester/rt/test.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'. @@ -171,6 +171,8 @@ def find_executables(paths, glob): for f in files: if fnmatch.fnmatch(f.lower(), glob): executables += [path.join(root, f)] + norun = re.compile('.*\.norun.*') + executables = [e for e in executables if not norun.match(e)] return sorted(executables) def report_finished(reports, report_mode, reporting, finished, job_trace): @@ -208,14 +210,6 @@ def _job_trace(tst, msg, total, exe, active, reporting): msg, reporting, total, exe, s)) -def list_bsps(opts): - path_ = opts.defaults.expand('%%{_configdir}/bsps/*.mc') - bsps = path.collect_files(path_) - log.notice(' BSP List:') - for bsp in bsps: - log.notice(' %s' % (path.basename(bsp[:-3]))) - raise error.exit() - def killall(tests): for test in tests: test.kill() |