From: Janis Johnson Date: Tue, 26 Jun 2012 20:17:00 +0000 (+0000) Subject: scandump.exp (scan-dump, [...]): Use printable pattern in test name. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ef1bce664881cd59dac7db6c3f3b5709d858bfe;p=gcc.git scandump.exp (scan-dump, [...]): Use printable pattern in test name. * lib/scandump.exp (scan-dump, scan-dump-not, scan-dump-dem, scan-dump-dem-not): Use printable pattern in test name. From-SVN: r188996 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 94810951ef3..87c5d496216 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-06-26 Janis Johnson + + * lib/scandump.exp (scan-dump, scan-dump-not, scan-dump-dem, + scan-dump-dem-not): Use printable pattern in test name. + 2012-06-26 Sterling Augustine Dominique Dhumieres diff --git a/gcc/testsuite/lib/scandump.exp b/gcc/testsuite/lib/scandump.exp index 80b554bf09e..b3bf2a93580 100644 --- a/gcc/testsuite/lib/scandump.exp +++ b/gcc/testsuite/lib/scandump.exp @@ -47,8 +47,9 @@ proc scan-dump { args } { set testcase [testname-for-summary] + set printable_pattern [make_pattern_printable [lindex $args 1]] set suf [dump-suffix [lindex $args 2]] - set testname "$testcase scan-[lindex $args 0]-dump $suf \"[lindex $args 1]\"" + set testname "$testcase scan-[lindex $args 0]-dump $suf \"$printable_pattern\"" set src [file tail [lindex $testcase 0]] set output_file "[glob -nocomplain $src.[lindex $args 2]]" if { $output_file == "" } { @@ -126,8 +127,9 @@ proc scan-dump-not { args } { } set testcase [testname-for-summary] + set printable_pattern [make_pattern_printable [lindex $args 1]] set suf [dump-suffix [lindex $args 2]] - set testname "$testcase scan-[lindex $args 0]-dump-not $suf \"[lindex $args 1]\"" + set testname "$testcase scan-[lindex $args 0]-dump-not $suf \"$printable_pattern\"" set src [file tail [lindex $testcase 0]] set output_file "[glob -nocomplain $src.[lindex $args 2]]" if { $output_file == "" } { @@ -178,8 +180,9 @@ proc scan-dump-dem { args } { } set testcase [testname-for-summary] + set printable_pattern [make_pattern_printable [lindex $args 1]] set suf [dump-suffix [lindex $args 2]] - set testname "$testcase scan-[lindex $args 0]-dump-dem $suf \"[lindex $args 1]\"" + set testname "$testcase scan-[lindex $args 0]-dump-dem $suf \"$printable_pattern\"" set src [file tail [lindex $testcase 0]] set output_file "[glob -nocomplain $src.[lindex $args 2]]" if { $output_file == "" } { @@ -229,8 +232,9 @@ proc scan-dump-dem-not { args } { } set testcase [testname-for-summary] + set printable_pattern [make_pattern_printable [lindex $args 1] set suf [dump-suffix [lindex $args 2]] - set testname "$testcase scan-[lindex $args 0]-dump-dem-not $suf \"[lindex $args 1]\"" + set testname "$testcase scan-[lindex $args 0]-dump-dem-not $suf \"$printable_pattern\"" set src [file tail [lindex $testcase 0]] set output_file "[glob -nocomplain $src.[lindex $args 2]]" if { $output_file == "" } {