aboutsummaryrefslogtreecommitdiff
path: root/gcc/range-op-float.cc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2022-11-15 21:11:54 +0100
committerHans-Peter Nilsson <hp@bitrange.com>2022-11-16 18:19:17 +0100
commite91d51457532da6c2179b23359435f06d89488e7 (patch)
tree261ba7e78acb6f3158119e5497e62fd578171f67 /gcc/range-op-float.cc
parent246bbdaa5f536b7a199dda9860c473137f40d622 (diff)
downloadgcc-e91d51457532da6c2179b23359435f06d89488e7.zip
gcc-e91d51457532da6c2179b23359435f06d89488e7.tar.gz
gcc-e91d51457532da6c2179b23359435f06d89488e7.tar.bz2
testsuite: Fix mistransformed gcov
In commit r13-2619-g34b9a03353d3fd, [transform] was applied to all invocations of gcov, for both out-of-tree and in-tree testing. For in-tree cross builds, this means gcov was called as "/path/to/gccobj/gcc/target-tuple-gcov" gcov-pr94029.c which is incorrect, as it's there "/path/to/gccobj/gcc/gcov" until it's installed. This caused a testsuite failure, like: Running /x/gcc/gcc/testsuite/gcc.misc-tests/gcov.exp ... FAIL: gcc.misc-tests/gcov-pr94029.c gcov failed: spawn failed To avoid cumbersome conditionals, use a dedicated new helper function. gcc/testsuite: * lib/gcc-dg.exp (gcc-transform-out-of-tree): New proc. * g++.dg/gcov/gcov.exp, gcc.misc-tests/gcov.exp: Call gcc-transform-out-of-tree instead of transform.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions