diff mbox series

testsuite: Update scan-lto-assembler

Message ID mptzgy8amwn.fsf@arm.com
State New
Headers show
Series testsuite: Update scan-lto-assembler | expand

Commit Message

Richard Sandiford April 8, 2021, 2:09 p.m. UTC
scan-lto-assembler was looking for the old dump names instead of
the new ones.  There are only two uses of this:

    gcc.target/nios2/custom-fp-lto.c
    gcc.target/aarch64/pr70044.c

Both of them use single source files, so I think they both want
the same behaviour.

Tested on aarch64-linux-gnu.  OK to install?

Richard


gcc/testsuite/
	* lib/scanasm.exp (scan-lto-assembler): Update expected name
	of dump file.
---
 gcc/testsuite/lib/scanasm.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jeff Law April 8, 2021, 3:17 p.m. UTC | #1
On 4/8/2021 8:09 AM, Richard Sandiford via Gcc-patches wrote:
> scan-lto-assembler was looking for the old dump names instead of
> the new ones.  There are only two uses of this:
>
>      gcc.target/nios2/custom-fp-lto.c
>      gcc.target/aarch64/pr70044.c
>
> Both of them use single source files, so I think they both want
> the same behaviour.
>
> Tested on aarch64-linux-gnu.  OK to install?
>
> Richard
>
>
> gcc/testsuite/
> 	* lib/scanasm.exp (scan-lto-assembler): Update expected name
> 	of dump file.

OK

jeff
diff mbox series

Patch

diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp
index e7236087a75..0dcb893ec4f 100644
--- a/gcc/testsuite/lib/scanasm.exp
+++ b/gcc/testsuite/lib/scanasm.exp
@@ -754,7 +754,7 @@  proc scan-lto-assembler { args } {
     set testcase [testname-for-summary]
     # The name might include a list of options; extract the file name.
     set filename [lindex $testcase 0]
-    set output_file "[file rootname [file tail $filename]].exe.ltrans0.s"
+    set output_file "[file rootname [file tail $filename]].ltrans0.ltrans.s"
     verbose "output_file: $output_file"
     dg-scan "scan-lto-assembler" 1 $testcase $output_file $args
 }