[Bug testsuite/44525] New: Profiling assumes host directory structure
dougsemler at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Jun 13 15:44:00 GMT 2010
When executing the profiling tests (e.g. gcc.dg/matrix/matrix.exp) on a remote
machine, the test run assumes that the directory structure is the same on the
remote target machine as it is on the host machine.
The path structure assumption is made based on the working directory during the
build of the test executable. It seems the problem is in two parts, the first
is that the actual build of the executable will contain the host directory.
The second is that the testsuite itself will attempt to retrieve the gcda file
from the host directory structure.
Example: The test is built with the working directory in
/build/gcc/gcc/testsuite/gcc then transferred to the remote tester /tmp. An
error during the test run itself states that the profiling file
/build/gcc/gcc/testsuite/gcc/transpose-1.gcda cannot be created (message from
target machine). If the file is created, the testsuite will attempt to
retrieve the file from that directory (via scp) on the target machine.
--
Summary: Profiling assumes host directory structure
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dougsemler at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44525
More information about the Gcc-bugs
mailing list