]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix WPA scanning.
authorMartin Liska <mliska@suse.cz>
Fri, 10 Jul 2020 12:45:13 +0000 (14:45 +0200)
committerMartin Liska <mliska@suse.cz>
Fri, 10 Jul 2020 12:45:13 +0000 (14:45 +0200)
gcc/testsuite/ChangeLog:

PR gcov-profile/96148
* lib/scanwpaipa.exp: Fix wpa dump file suffix the same way
as other in the file.

gcc/testsuite/lib/scanwpaipa.exp

index cc50cc4c9c44b931ea6292794b996c0e70d20a8b..c0706ff28d230201fa9e54ba98026b6061e63454 100644 (file)
@@ -60,11 +60,11 @@ proc scan-pgo-wpa-ipa-dump { args } {
     }
     if { [llength $args] >= 3 } {
        scan-dump "pgo-wpa-ipa" [lindex $args 0] \
-                 "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 1]" ".x02.wpa" \
+                 "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 1]" ".wpa" \
                  [lindex $args 2]
     } else {
        scan-dump "pgo-wpa-ipa" [lindex $args 0] \
-                 "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 1]" ".x02.wpa"
+                 "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 1]" ".wpa"
     }
 }