This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gcc/testsuite] cleanup
- To: gcc-patches at gcc dot gnu dot org
- Subject: [gcc/testsuite] cleanup
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Sun, 13 May 2001 18:25:25 -0700
Minor switch to finding includes.
2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
* lib/g++.exp: Use testsuite_flags.
Index: testsuite/lib/g++.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/lib/g++.exp,v
retrieving revision 1.18
diff -c -p -r1.18 g++.exp
*** g++.exp 2001/05/04 02:58:46 1.18
--- g++.exp 2001/05/14 01:24:09
*************** proc g++_include_flags { args } {
*** 83,90 ****
if { ${HAVE_LIBSTDCXX_V3} } {
set odir_v3 [lookfor_file ${gccpath} libstdc++-v3]
! set sdir_v3 [lookfor_file ${srcdir} libstdc++-v3]
! append flags [exec sh ${odir_v3}/tests_flags --compiler ${odir_v3} ${sdir_v3}]
} else {
set odir_v2 [lookfor_file ${gccpath} libstdc++]
set sdir_v2 [lookfor_file ${srcdir} libstdc++]
--- 83,89 ----
if { ${HAVE_LIBSTDCXX_V3} } {
set odir_v3 [lookfor_file ${gccpath} libstdc++-v3]
! append flags [exec sh ${odir_v3}/testsuite_flags --build-includes]
} else {
set odir_v2 [lookfor_file ${gccpath} libstdc++]
set sdir_v2 [lookfor_file ${srcdir} libstdc++]