mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 23:51:18 +08:00
scandump.exp (scan-dump-times): Use printable version of regexp in test summary line.
* lib/scandump.exp (scan-dump-times): Use printable version of regexp in test summary line. From-SVN: r188538
This commit is contained in:
parent
5fe0eb0d16
commit
9042f8f296
@ -1,5 +1,8 @@
|
||||
2012-06-13 Janis Johnson <janisjo@codesourcery.com>
|
||||
|
||||
* lib/scandump.exp (scan-dump-times): Use printable version of
|
||||
regexp in test summary line.
|
||||
|
||||
* gcc.dg/di-longlong64-sync-1.c: Add comments to checks for multiple
|
||||
messages reported for one line of source code.
|
||||
* gcc.dg/format/few-1.c: Likewise.
|
||||
|
@ -94,7 +94,8 @@ proc scan-dump-times { args } {
|
||||
upvar 3 name testcase
|
||||
|
||||
set suf [dump-suffix [lindex $args 3]]
|
||||
set testname "$testcase scan-[lindex $args 0]-dump-times $suf \"[lindex $args 1]\" [lindex $args 2]"
|
||||
set printable_pattern [make_pattern_printable [lindex $args 1]]
|
||||
set testname "$testcase scan-[lindex $args 0]-dump-times $suf \"$printable_pattern\" [lindex $args 2]"
|
||||
set src [file tail [lindex $testcase 0]]
|
||||
set output_file "[glob -nocomplain $src.[lindex $args 3]]"
|
||||
if { $output_file == "" } {
|
||||
|
Loading…
x
Reference in New Issue
Block a user