On Thu, 2008-10-23 at 18:00 -0400, DJ Delorie wrote:
> In scanasm.exp we do this:
>
> proc scan-assembler { args } {
> upvar 2 name testcase
> set output_file "[file rootname [file tail $testcase]].s"
>
>
> However, in dejagnu, $name may have compiler switches appended to it:
>
> # We append the compilation flags, if any, to ensure that the test case
> # names are unique.
> if { "$tool_flags" != "" } {
> set name "$name $tool_flags"
> }
>
> Perhaps we want to add this line to scanasm, in various places, to
> strip off the compiler switches?
>
> set testcase [lindex $testcase 0]
I thought something like that was already done but I couldn't find it
right now. Is it a problem? If so, we should certainly do this.
Janis