OSDN Git Service

2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Apr 2009 19:42:26 +0000 (19:42 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Apr 2009 19:42:26 +0000 (19:42 +0000)
PR testsuite/39733
* gcc.misc-tests/options.exp (check_for_options): Renamed to ...
(check_for_all_options): This.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146009 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/options.exp

index c920a6f..d29496f 100644 (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
index 1d4b779..a9a74e1 100644 (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}