diff options
author | Janis Johnson <janisjo@codesourcery.com> | 2012-06-26 20:17:00 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2012-06-26 20:17:00 +0000 |
commit | 2ef1bce664881cd59dac7db6c3f3b5709d858bfe (patch) | |
tree | 29a71707f06f7bdcd46fc4c2bcec1ac05bd9b566 /gcc | |
parent | 8a0320ad5ee725a4e81229c0ba0dd25c8aa48ac5 (diff) | |
download | gcc-2ef1bce664881cd59dac7db6c3f3b5709d858bfe.zip gcc-2ef1bce664881cd59dac7db6c3f3b5709d858bfe.tar.gz gcc-2ef1bce664881cd59dac7db6c3f3b5709d858bfe.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/lib/scandump.exp | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9481095..87c5d49 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-06-26 Janis Johnson <janisjo@codesourcery.com> + + * 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 <saugustine@google.com> Dominique Dhumieres <dominiq@lps.ens.fr> diff --git a/gcc/testsuite/lib/scandump.exp b/gcc/testsuite/lib/scandump.exp index 80b554b..b3bf2a9 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 == "" } { |