* [PATCH, testsuite]: Remove debug statements from gcc.c-torture/unsorted/dump-noaddr.x
@ 2016-09-21 15:37 Uros Bizjak
0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2016-09-21 15:37 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
2016-09-21 Uros Bizjak <ubizjak@gmail.com>
* gcc.c-torture/unsorted/dump-noaddr.x: Remove debug statements.
Tested on x86_64-linux-gnu {,-m32}, committed to mainline SVN and
release branches.
Uros.
[-- Attachment #2: t.diff.txt --]
[-- Type: text/plain, Size: 958 bytes --]
diff --git a/gcc/testsuite/gcc.c-torture/unsorted/dump-noaddr.x b/gcc/testsuite/gcc.c-torture/unsorted/dump-noaddr.x
index 001dd6b..d14d494 100644
--- a/gcc/testsuite/gcc.c-torture/unsorted/dump-noaddr.x
+++ b/gcc/testsuite/gcc.c-torture/unsorted/dump-noaddr.x
@@ -19,7 +19,6 @@ proc dump_compare { src options } {
regsub dump1/ $dump1 dump2/ dump2
set dumptail "gcc.c-torture/unsorted/[file tail $dump1]"
regsub {\.\d+((t|r|i)\.[^.]+)$} $dumptail {.*\1} dumptail
- #puts "$option $dump1"
set tmp [ diff "$dump1" "$dump2" ]
if { $tmp == 0 } {
untested "$dumptail, $option comparison"
@@ -28,14 +27,11 @@ proc dump_compare { src options } {
} else {
fail "$dumptail, $option comparison"
}
- #exec diff $dump1 $dump2
}
}
file delete -force dump1
file delete -force dump2
}
-catch {dump_compare $src $options} result
-puts $result
-verbose result
+dump_compare $src $options
return 1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-21 15:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-21 15:37 [PATCH, testsuite]: Remove debug statements from gcc.c-torture/unsorted/dump-noaddr.x Uros Bizjak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).