aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2021-04-08 17:39:12 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2021-04-08 17:39:12 +0100
commit59d09f9fe4bcf4a341494220be377dfe13d84c1e (patch)
treecc61126c8a0ad69824daae9c610da141b8bcf418
parent09ef422fadce393300ce84d2f8c8331a344de2ef (diff)
downloadgcc-59d09f9fe4bcf4a341494220be377dfe13d84c1e.zip
gcc-59d09f9fe4bcf4a341494220be377dfe13d84c1e.tar.gz
gcc-59d09f9fe4bcf4a341494220be377dfe13d84c1e.tar.bz2
testsuite: Update scan-lto-assembler
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. gcc/testsuite/ * lib/scanasm.exp (scan-lto-assembler): Update expected name of dump file.
-rw-r--r--gcc/testsuite/lib/scanasm.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp
index e723608..0dcb893 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
}