aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/scandump.exp12
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 == "" } {