Re: [testsuite] access name from dg-test via a proc instead of upvar

2012-06-25 Thread Mike Stump
On Jun 25, 2012, at 6:42 PM, Janis Johnson wrote: > Lots of places in GCC's testsuite infrastructure get the test name with > current torture options, set up by DejaGnu's dg-test, by using upvar. > These accesses usually have a comment that this is ugly but there's > nothing else to do. > OK for t

[testsuite] access name from dg-test via a proc instead of upvar

2012-06-25 Thread Janis Johnson
Lots of places in GCC's testsuite infrastructure get the test name with current torture options, set up by DejaGnu's dg-test, by using upvar. These accesses usually have a comment that this is ugly but there's nothing else to do. I recently modified that test name for use by the scan directives to