aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/check.tpl
diff options
context:
space:
mode:
authorBruce Korb <bkorb@gnu.org>2000-06-17 17:50:12 +0000
committerBruce Korb <korbb@gcc.gnu.org>2000-06-17 17:50:12 +0000
commit33002945c162325d7421a4627b8b54ae5c008183 (patch)
treec4d479fcb39712fc8602a0cdb162c1e29c5628ae /gcc/fixinc/check.tpl
parentc19bd6c073e5c64cc1921c6a2f07f7682758682c (diff)
downloadgcc-33002945c162325d7421a4627b8b54ae5c008183.zip
gcc-33002945c162325d7421a4627b8b54ae5c008183.tar.gz
gcc-33002945c162325d7421a4627b8b54ae5c008183.tar.bz2
finish the implementation of multiple tests per fix
From-SVN: r34581
Diffstat (limited to 'gcc/fixinc/check.tpl')
-rw-r--r--gcc/fixinc/check.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fixinc/check.tpl b/gcc/fixinc/check.tpl
index 5bc8aa3..4142c43 100644
--- a/gcc/fixinc/check.tpl
+++ b/gcc/fixinc/check.tpl
@@ -54,10 +54,9 @@ sfile=[=
_IF files _exist =][=
files[0] =][=
_ELSE =]testing.h[=
- _ENDIF =]
-dfile=`dirname $sfile`/[=hackname "_A-Z" "-a-z" _tr=]-[=_EVAL _index=].h
-fixnum=[=_EVAL _index=][=
+ _ENDIF =][=
_FOR test_text FROM 1 =]
+dfile=`dirname $sfile`/[=hackname "#_A-Z" "#-a-z" _tr=]-[=_EVAL _index=].h
cat >> $sfile <<_HACK_EOF_
@@ -66,6 +65,7 @@ cat >> $sfile <<_HACK_EOF_
#endif /* [=hackname _up=]_CHECK_[=_EVAL _index=] */
_HACK_EOF_
echo $sfile | ../../fixincl
+mv -f $sfile $dfile
[ -f ${DESTDIR}/$sfile ] && mv ${DESTDIR}/$sfile ${DESTDIR}/$dfile[=
/test_text =][=
_ENDIF =][=