diff mbox series

testsuite: Fix WPA scanning.

Message ID 4747a6fb-0359-fddf-6ebf-950e4c8ab63b@suse.cz
State New
Headers show
Series testsuite: Fix WPA scanning. | expand

Commit Message

Martin Liška July 10, 2020, 12:48 p.m. UTC
Installed to master.

Martin

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 | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/gcc/testsuite/lib/scanwpaipa.exp b/gcc/testsuite/lib/scanwpaipa.exp
index cc50cc4c9c4..c0706ff28d2 100644
--- a/gcc/testsuite/lib/scanwpaipa.exp
+++ b/gcc/testsuite/lib/scanwpaipa.exp
@@ -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"
      }
  }