Commit 5dc25517 by Janis Johnson Committed by Kaveh Ghazi

profopt.exp: Change the name of a global variable to avoid possible clashes with other test...

	* lib/profopt.exp: Change the name of a global variable to avoid
	possible clashes with other test suites.

From-SVN: r60711
parent 3cfabe60
2002-12-31 Janis Johnson <janis187@us.ibm.com>
* lib/profopt.exp: Change the name of a global variable to avoid
possible clashes with other test suites.
2002-12-31 Nathan Sidwell <nathan@codesourcery.com> 2002-12-31 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/inherit/covariant8.C: New test. * g++.dg/inherit/covariant8.C: New test.
......
...@@ -66,7 +66,7 @@ if ![info exists PROFOPT_OPTIONS] { ...@@ -66,7 +66,7 @@ if ![info exists PROFOPT_OPTIONS] {
{ -Os } ] { -Os } ]
} }
set option_list $PROFOPT_OPTIONS set prof_option_list $PROFOPT_OPTIONS
# #
# profopt-cleanup -- remove profiling or performance results files. # profopt-cleanup -- remove profiling or performance results files.
...@@ -126,7 +126,7 @@ proc profopt-perf-value { testcase perf_ext optstr } { ...@@ -126,7 +126,7 @@ proc profopt-perf-value { testcase perf_ext optstr } {
# #
proc profopt-execute { src } { proc profopt-execute { src } {
global srcdir tmpdir global srcdir tmpdir
global option_list global prof_option_list
global tool profile_option feedback_option prof_ext perf_ext perf_delta global tool profile_option feedback_option prof_ext perf_ext perf_delta
global verbose global verbose
...@@ -142,7 +142,7 @@ proc profopt-execute { src } { ...@@ -142,7 +142,7 @@ proc profopt-execute { src } {
set executable $tmpdir/[file tail [file rootname $src].x] set executable $tmpdir/[file tail [file rootname $src].x]
set count 0 set count 0
foreach option $option_list { foreach option $prof_option_list {
set execname1 "${executable}${count}1" set execname1 "${executable}${count}1"
set execname2 "${executable}${count}2" set execname2 "${executable}${count}2"
set execname3 "${executable}${count}3" set execname3 "${executable}${count}3"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment