re PR testsuite/39733 (gcc.misc-tests/help.exp doesn't work with multilib)

2009-04-13  H.J. Lu  <hongjiu.lu@intel.com>

	PR testsuite/39733
	* gcc.misc-tests/options.exp (check_for_options): Renamed to ...
	(check_for_all_options): This.

From-SVN: r146009
This commit is contained in:
H.J. Lu 2009-04-13 19:42:26 +00:00 committed by H.J. Lu
parent c1b93f2b52
commit 1b1c508f21
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/39733
* gcc.misc-tests/options.exp (check_for_options): Renamed to ...
(check_for_all_options): This.
2009-04-13 Jason Merrill <jason@redhat.com>
PR c++/39750

View File

@ -19,7 +19,7 @@
# match the patterns COMPILER_PATTERN, AS_PATTERN and LD_PATTERN,
# respectively.
proc check_for_options {language gcc_options compiler_pattern as_pattern ld_pattern} {
proc check_for_all_options {language gcc_options compiler_pattern as_pattern ld_pattern} {
set filename test-[pid]
set fd [open $filename.c w]
puts $fd "int main (void) \{ return 0; \}"
@ -51,4 +51,4 @@ proc check_for_options {language gcc_options compiler_pattern as_pattern ld_patt
pass $test
}
check_for_options c {--coverage} {-fprofile-arcs -ftest-coverage} {} {-lgcov}
check_for_all_options c {--coverage} {-fprofile-arcs -ftest-coverage} {} {-lgcov}