diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2024-07-24 18:50:08 -0700 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2024-07-28 19:05:55 +0200 |
commit | 5816b7db1e2f583ed1cbf8d7403a93531450d03b (patch) | |
tree | 55149aa4169885693f74044d21d0594f7031e947 /libcpp | |
parent | 666b388b3a2c0242b4489784c1cf219036ce396b (diff) | |
download | gcc-5816b7db1e2f583ed1cbf8d7403a93531450d03b.zip gcc-5816b7db1e2f583ed1cbf8d7403a93531450d03b.tar.gz gcc-5816b7db1e2f583ed1cbf8d7403a93531450d03b.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 'libcpp')
0 files changed, 0 insertions, 0 deletions