diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2024-07-24 18:50:08 -0700 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2024-07-25 01:38:13 -0700 |
commit | 1d6e2d991dc489d2d0122650818177c029d4a7d3 (patch) | |
tree | 5471c97975b719dee7c8f987ee9abae6428cd580 /include/gdb/gdb-index.h | |
parent | 72fbd3b2b2a497dbbe6599239bd61c5624203ed0 (diff) | |
download | gcc-1d6e2d991dc489d2d0122650818177c029d4a7d3.zip gcc-1d6e2d991dc489d2d0122650818177c029d4a7d3.tar.gz gcc-1d6e2d991dc489d2d0122650818177c029d4a7d3.tar.bz2 |
libstdc++: Fix testsuite for remote testing (and sim)
The problem here is that v3_additional_files will have a space
at the begining of the string as dg-additional-files will append
`" " $files` to it. Then when split is called on that string,
there will be an empty file and copying a dir will just fail for
remote/sim testing (I didn't look at why it works for native
testing though).
Ran a full libstdc++ testsuite using a sim board for testing.
libstdc++-v3/ChangeLog:
* testsuite/lib/libstdc++.exp (v3_target_compile): Call
string trim on v3_target_compile before calling split.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'include/gdb/gdb-index.h')
0 files changed, 0 insertions, 0 deletions