[rtems commit] rtems-test-check: Fix to properly process excludes

Joel Sherrill joel at rtems.org
Tue Jan 17 23:59:32 UTC 2017


Module:    rtems
Branch:    master
Commit:    ac01d2468affc4d6d207a7282ed204b7bf3b6895
Changeset: http://git.rtems.org/rtems/commit/?id=ac01d2468affc4d6d207a7282ed204b7bf3b6895

Author:    Stavros Passas <stavros.passas at movidius.com>
Date:      Mon Jan 16 15:41:04 2017 +0000

rtems-test-check: Fix to properly process excludes

Closes #2867.

---

 tools/build/rtems-test-check | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tools/build/rtems-test-check b/tools/build/rtems-test-check
index e02f8e9..108b788 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




More information about the vc mailing list