diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-31 20:00:44 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-31 20:00:44 +0000 |
commit | a6c01509a84854aaec726f99aa409e49135c1f66 (patch) | |
tree | 918e251e0ac8934fecf4e9391f540aa18da77834 /gcc/testsuite/lib/profopt.exp | |
parent | 1bf5bd08311ecc2d1bd3798d13490cce9e6a7c27 (diff) | |
download | gcc-a6c01509a84854aaec726f99aa409e49135c1f66.tar.gz |
* lib/profopt.exp: Change the name of a global variable to avoid
possible clashes with other test suites.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60711 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib/profopt.exp')
-rw-r--r-- | gcc/testsuite/lib/profopt.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp index 5ecf314977f..4d32ff2fdbe 100644 --- a/gcc/testsuite/lib/profopt.exp +++ b/gcc/testsuite/lib/profopt.exp @@ -66,7 +66,7 @@ if ![info exists PROFOPT_OPTIONS] { { -Os } ] } -set option_list $PROFOPT_OPTIONS +set prof_option_list $PROFOPT_OPTIONS # # profopt-cleanup -- remove profiling or performance results files. @@ -126,7 +126,7 @@ proc profopt-perf-value { testcase perf_ext optstr } { # proc profopt-execute { src } { global srcdir tmpdir - global option_list + global prof_option_list global tool profile_option feedback_option prof_ext perf_ext perf_delta global verbose @@ -142,7 +142,7 @@ proc profopt-execute { src } { set executable $tmpdir/[file tail [file rootname $src].x] set count 0 - foreach option $option_list { + foreach option $prof_option_list { set execname1 "${executable}${count}1" set execname2 "${executable}${count}2" set execname3 "${executable}${count}3" |