[rtems-testing commit] Reflect move to git.

Joel Sherrill joel at rtems.org
Thu Feb 16 22:18:01 UTC 2012


Module:    rtems-testing
Branch:    master
Commit:    67e2e75e7e786617b2ef5042b487286916b5c8f7
Changeset: http://git.rtems.org/rtems-testing/commit/?id=67e2e75e7e786617b2ef5042b487286916b5c8f7

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Thu Feb 16 16:15:02 2012 -0600

Reflect move to git.

---

 merge-helpers/check_submission |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/merge-helpers/check_submission b/merge-helpers/check_submission
index 5f2e391..f30a147 100755
--- a/merge-helpers/check_submission
+++ b/merge-helpers/check_submission
@@ -12,6 +12,8 @@ usage()
 {
 cat <<EOF
 check_submission [options] directory
+  -b - check assuming directory is a BSP
+  -t - check assuming directory is a test
   -v - verbose
 EOF
 }
@@ -52,6 +54,10 @@ shift $shiftcount
 
 basedir=${1}
 
+if [ "${basedir}X" = "X" ] ; then
+  basedir=.
+fi
+
 if [ ${do_bsp} = "no" -a ${do_test} = "no" ] ; then
   fatal must select test or bsp check mode
 fi
@@ -126,6 +132,7 @@ find_source()
    case "$OPT" in
      c) findArgs="${findArgs} -o -name configure.ac" ;;
      C) findArgs="${findArgs} -o -name *.cfg" ;;
+     d) findArgs="${findArgs} -o -name *.doc" ;;
      m) findArgs="${findArgs} -o -name Makefile.am" ;;
      *) echo "bad arg to find_source ($OPT)" ; exit 1 ;;
    esac
@@ -159,9 +166,9 @@ done
 
 # We want CVS Id strings everywhere possible
 echo "=== Checking for CVS Id strings"
-find_source | while read f
+find_source -d | while read f
 do
-  test_its_there ${f} "\$Id"
+  test_its_NOT_there ${f} "\$Id"
 done
 
 # We do not want the reformatted license notice




More information about the vc mailing list