This makes it easier to compare jit.sum files from different runs gcc/testsuite/ChangeLog: * jit.dg/jit.exp (jit-dg-test): Use $name rathen than $prog when calling jit_check_compile to avoid embedding the full path of the testcase into the test results. --- gcc/testsuite/jit.dg/jit.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/jit.dg/jit.exp b/gcc/testsuite/jit.dg/jit.exp index 531e929..135dbad 100644 --- a/gcc/testsuite/jit.dg/jit.exp +++ b/gcc/testsuite/jit.dg/jit.exp @@ -202,7 +202,8 @@ proc jit-dg-test { prog do_what extra_tool_flags } { # Create the test executable: set comp_output [gcc_target_compile $prog $output_file $do_what \ "{additional_flags=$extra_tool_flags}"] - if ![jit_check_compile "$prog" "initial compilation" \ + upvar 1 name name + if ![jit_check_compile "$name" "initial compilation" \ $output_file $comp_output] then { return } -- 1.8.5.3