X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=fixincludes%2Fcheck.tpl;h=a9810e28a8fa8f668f31ca91a51760846cfb2e9a;hp=a5b7363bf7394a535104986a544b529271a1ef7b;hb=18b9db02ef2e569e4c76932128302932fffabfbd;hpb=1da60ab0ff2214c59b6e1b8f8efe8ecee98f9811;ds=sidebyside diff --git a/fixincludes/check.tpl b/fixincludes/check.tpl index a5b7363bf73..a9810e28a8f 100644 --- a/fixincludes/check.tpl +++ b/fixincludes/check.tpl @@ -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,6 +141,7 @@ echo $exitok` cd $TESTBASE find * -type f -print | \ +fgrep -v 'CVS/' | \ fgrep -v '.svn/' > ${TESTDIR}/LIST exitok=`