Commit 81f26369 by David Malcolm Committed by David Malcolm

jit.exp: Avoid embedding full paths into test results

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.

From-SVN: r218225
parent da42b278
2014-12-01 David Malcolm <dmalcolm@redhat.com>
* 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.
2014-12-01 Marek Polacek <polacek@redhat.com> 2014-12-01 Marek Polacek <polacek@redhat.com>
PR sanitizer/64121 PR sanitizer/64121
......
...@@ -202,7 +202,8 @@ proc jit-dg-test { prog do_what extra_tool_flags } { ...@@ -202,7 +202,8 @@ proc jit-dg-test { prog do_what extra_tool_flags } {
# Create the test executable: # Create the test executable:
set comp_output [gcc_target_compile $prog $output_file $do_what \ set comp_output [gcc_target_compile $prog $output_file $do_what \
"{additional_flags=$extra_tool_flags}"] "{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 { $output_file $comp_output] then {
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment