Needed to transfer stdout.txt to host before reading.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/settings/quoting/TestQuoting.py | ||
---|---|---|
74 ↗ | (On Diff #21070) | I had that concern too, but it works fine on local. |
test/settings/quoting/TestQuoting.py | ||
---|---|---|
74 ↗ | (On Diff #21070) | I remember I had such issue with platform.Put when source and destination were in the same directory. |
test/settings/quoting/TestQuoting.py | ||
---|---|---|
74 ↗ | (On Diff #21070) | I guess we could just check if the file already exists, and if it does, assume local, and skip the Get(). Platform cannot tell if we're local, right? Also, platform doesn't provide any functionality to delete remote files, right? |
test/settings/quoting/TestQuoting.py | ||
---|---|---|
71 ↗ | (On Diff #21079) | I think you can check if we run against a remote platform with this condition: if lldb.remote_platform: # Remote else: # Local |
74 ↗ | (On Diff #21070) | Platform can remove a file (with the Unlink command) but it is not exposed to the Python interface. If you need it you can expose it easily. |
Please use the "if lldb.remote_platform:" test when doing any remote fetching as tberghammer suggested.
lldb/trunk/test/settings/quoting/TestQuoting.py | ||
---|---|---|
71 | In other tests, I use the terms "local" and "remote" instead of "src" and "dst" |
In other tests, I use the terms "local" and "remote" instead of "src" and "dst"