Needed to transfer stdout.txt to host before reading.
Details
Diff Detail
Event Timeline
test/settings/quoting/TestQuoting.py | ||
---|---|---|
74 | I had that concern too, but it works fine on local. |
test/settings/quoting/TestQuoting.py | ||
---|---|---|
74 | I remember I had such issue with platform.Put when source and destination were in the same directory. |
test/settings/quoting/TestQuoting.py | ||
---|---|---|
74 | 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 | I think you can check if we run against a remote platform with this condition: if lldb.remote_platform: # Remote else: # Local | |
74 | 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 ↗ | (On Diff #21124) | In other tests, I use the terms "local" and "remote" instead of "src" and "dst" |
No need for semicolon