summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorStavros Passas <stavros.passas@movidius.com>2017-01-16 15:41:04 +0000
committerJoel Sherrill <joel@rtems.org>2017-01-17 17:58:37 -0600
commitac01d2468affc4d6d207a7282ed204b7bf3b6895 (patch)
treea6833a1f156da75649c397f8e508c9f6974f71a2 /tools
parent1fcdd639ee38a990e629fdaa670eeda9faae9beb (diff)
downloadrtems-ac01d2468affc4d6d207a7282ed204b7bf3b6895.tar.bz2
rtems-test-check: Fix to properly process excludes
Closes #2867.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build/rtems-test-check6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/build/rtems-test-check b/tools/build/rtems-test-check
index e02f8e939e..108b7881c2 100755
--- a/tools/build/rtems-test-check
+++ b/tools/build/rtems-test-check
@@ -32,7 +32,11 @@ done
case ${mode} in
exclude)
- output=${tests}
+ if test -f $testdata; then
+ output=""
+ else
+ output="${tests}"
+ fi
;;
flags)
if [ $test_count != 1 ]; then