change log for rtems-testing (2011-08-01)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Aug 1 17:10:02 UTC 2011


 *joel*:
2011-08-01	Joel Sherrill <joel.sherrill at oarcorp.com>

	* check_submission: Check for missing .doc and .scn files.

M   1.11  merge-helpers/ChangeLog
M    1.2  merge-helpers/check_submission

diff -u rtems-testing/merge-helpers/ChangeLog:1.10 rtems-testing/merge-helpers/ChangeLog:1.11
--- rtems-testing/merge-helpers/ChangeLog:1.10	Mon Aug  1 09:23:14 2011
+++ rtems-testing/merge-helpers/ChangeLog	Mon Aug  1 11:27:21 2011
@@ -1,5 +1,9 @@
 2011-08-01	Joel Sherrill <joel.sherrill at oarcorp.com>
 
+	* check_submission: Check for missing .doc and .scn files.
+
+2011-08-01	Joel Sherrill <joel.sherrill at oarcorp.com>
+
 	* Makefile: Enhance to check more than a BSP. 
 	* check_submission: New file.
 	* check_bsp: Removed.

diff -u rtems-testing/merge-helpers/check_submission:1.1 rtems-testing/merge-helpers/check_submission:1.2
--- rtems-testing/merge-helpers/check_submission:1.1	Mon Aug  1 09:23:15 2011
+++ rtems-testing/merge-helpers/check_submission	Mon Aug  1 11:27:21 2011
@@ -189,7 +189,9 @@
   test_its_NOT_there ${f} TBD
 done
 
-# If not using -O2, then we really want to know
+#
+# BSP specific checks
+#
 if [ ${do_bsp} = "yes" ] ; then
   # We do not want stdio in a BSP
   echo "=== Checking for stdio"
@@ -208,6 +210,7 @@
     test_its_there configure.ac RTEMS_BSP_CLEANUP_OPTIONS
   fi
 
+  # If not using -O2, then we really want to know
   # BSPs should normally use -O2
   echo "=== Checking for not using -O2"
   grep -H "\-O[013456789]" make/custom/*.cfg
@@ -224,4 +227,33 @@
   fi
 fi  ## END OF IF BSP
 
+#
+# Test specific checks
+#
+if [ ${do_test} = "yes" ] ; then
+  # find all the Makefile.am's with rtems_tests_PROGRAMS in them
+  Makefiles=`find . -name Makefile.am | xargs -e grep -l ^rtems_tests`
+  if [ X${Makefiles} = X ] ; then
+    fatal "Unable to locate any test Makefile.am files."
+  fi
+  echo "=== Checking for missing test support files"
+  for m in ${Makefiles}
+  do
+    testName=`dirname ${m}`
+    if [ ${testName} = "." ] ; then
+      testName=`pwd`
+    fi
+    testName=`basename ${testName}`
+    # Does this test have a .doc file?
+    if [ ! -r ${testName}.doc ] ; then
+      echo ${testName}.doc is not present
+    fi
+    # Does this test have a .scn file?
+    if [ ! -r ${testName}.scn ] ; then
+      echo ${testName}.scn is not present
+    fi
+  done
+      
+fi
+
 exit 0



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110801/a8fe8a40/attachment-0001.html>


More information about the vc mailing list