diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-12-01 15:48:46 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-12-01 15:48:46 +0000 |
commit | 81f263694d6451a17f7d6d3753fae85a01243619 (patch) | |
tree | b6c642a481950d1847dcd75526df283f9a908299 /gcc | |
parent | da42b278b26f923d23b304f21cf4e6ac973145dc (diff) | |
download | gcc-81f263694d6451a17f7d6d3753fae85a01243619.zip gcc-81f263694d6451a17f7d6d3753fae85a01243619.tar.gz gcc-81f263694d6451a17f7d6d3753fae85a01243619.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/jit.dg/jit.exp | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3be4a88..94ca3b6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +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> PR sanitizer/64121 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 } |