Message ID | 7361233.vHt7sE6BKY@hardin.shanghai.arm.com |
---|---|
State | New |
Headers | show |
On Jan 12, 2016, at 12:48 AM, Thomas Preud'homme <thomas.preudhomme@foss.arm.com> wrote: > This patch solve this problem by replacing the static pass number in the > output by a star, allowing for a stable output while retaining easy copy/ > pasting in shell. > Is this ok for stage3? Ok.
diff --git a/gcc/testsuite/gcc.c-torture/unsorted/dump-noaddr.x b/gcc/ testsuite/gcc.c-torture/unsorted/dump-noaddr.x index a8174e0..001dd6b 100644 --- a/gcc/testsuite/gcc.c-torture/unsorted/dump-noaddr.x +++ b/gcc/testsuite/gcc.c-torture/unsorted/dump-noaddr.x @@ -18,6 +18,7 @@ proc dump_compare { src options } { foreach dump1 [lsort [glob -nocomplain dump1/*]] { 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 } {