<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems-testing (2011-08-01)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>

        * check_submission: Check for missing .doc and .scn files.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/merge-helpers/ChangeLog.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>merge-helpers/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-testing/merge-helpers/check_submission.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>merge-helpers/check_submission</td></tr>
</table>
<pre>
<font color='#006600'>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
</font><font color='#997700'>@@ -1,5 +1,9 @@
</font> 2011-08-01        Joel Sherrill <joel.sherrill@oarcorp.com>
 
<font color='#000088'>+   * check_submission: Check for missing .doc and .scn files.
+
+2011-08-01     Joel Sherrill <joel.sherrill@oarcorp.com>
+
</font>   * Makefile: Enhance to check more than a BSP.<span style="background-color: #FF0000"> </span>
        * check_submission: New file.
        * check_bsp: Removed.

<font color='#006600'>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
</font><font color='#997700'>@@ -189,7 +189,9 @@
</font>   test_its_NOT_there ${f} TBD
 done
 
<font color='#880000'>-# If not using -O2, then we really want to know
</font><font color='#000088'>+#
+# BSP specific checks
+#
</font> if [ ${do_bsp} = "yes" ] ; then
   # We do not want stdio in a BSP
   echo "=== Checking for stdio"
<font color='#997700'>@@ -208,6 +210,7 @@
</font>     test_its_there configure.ac RTEMS_BSP_CLEANUP_OPTIONS
   fi
 
<font color='#000088'>+  # If not using -O2, then we really want to know
</font>   # BSPs should normally use -O2
   echo "=== Checking for not using -O2"
   grep -H "\-O[013456789]" make/custom/*.cfg
<font color='#997700'>@@ -224,4 +227,33 @@
</font>   fi
 fi  ## END OF IF BSP
 
<font color='#000088'>+#
+# 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
+<span style="background-color: #FF0000">      </span>
+fi
+
</font> exit 0
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>