This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[gcc/testsuite] cleanup



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++]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]