OSDN Git Service

Daily bump.
[pf3gnuchains/gcc-fork.git] / fixincludes / check.tpl
index 9f8750b..a9810e2 100644 (file)
@@ -1,7 +1,7 @@
 [= autogen5 template sh=check.sh =]
 [=
 #
-#  This file contanes the shell template to run tests on the fixes
+#  This file contains the shell template to run tests on the fixes
 #
 =]#!/bin/sh
 
@@ -85,11 +85,8 @@ FOR fix  =][=
                         (get "hackname") )) )
          =][=
   ELSE   =]
-cat >> [=
-    IF (exist? "files") =][=
-      files[0] =][=
-    ELSE =]testing.h[=
-    ENDIF =] <<_HACK_EOF_
+cat >> [= (raw-shell-str (if (exist? "files") (get "files[0]") "testing.h"))
+         =] <<_HACK_EOF_
 
 
 #if defined( [=(. HACK)=]_CHECK )
@@ -144,7 +141,8 @@ echo $exitok`
 cd $TESTBASE
 
 find * -type f -print | \
-fgrep -v 'CVS/' > ${TESTDIR}/LIST
+fgrep -v 'CVS/' | \
+fgrep -v '.svn/' > ${TESTDIR}/LIST
 
 exitok=`
 exec < ${TESTDIR}/LIST