From b7c4753de0c17201be0ca047e2a7e320616132cb Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 10 Apr 2018 14:00:09 +1000 Subject: teater: Filter out an *.norun.* executables. --- tester/rt/test.py | 12 +++--------- 1 file 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() -- cgit v1.2.3