testsuite: Fix WPA scanning.

gcc/testsuite/ChangeLog:

	PR gcov-profile/96148
	* lib/scanwpaipa.exp: Fix wpa dump file suffix the same way
	as other in the file.
This commit is contained in:
Martin Liska 2020-07-10 14:45:13 +02:00
parent 6324c52bba
commit e969e9be88
No known key found for this signature in database
GPG key ID: 4DC182DC0FA73785

View 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"
}
}