[NFC] Cleanup the code used to run shell commands from tests
authorTamas Berghammer <tberghammer@google.com>
Tue, 5 Apr 2016 14:08:18 +0000 (14:08 +0000)
committerTamas Berghammer <tberghammer@google.com>
Tue, 5 Apr 2016 14:08:18 +0000 (14:08 +0000)
commit19fc1d4e3c19caa091b2fde161f54fa3b015b028
treee1f82b192e7a24e1785aabd3fd801990f6b2ab7a
parentd3fb38cae5227d9c23a2be5562b5f22c469c1b71
[NFC] Cleanup the code used to run shell commands from tests

Previously we had 3 different method to run shell commands on the
target and 4 copy of code waiting until a given file appears on the
target device (used for syncronization). This CL merges these methods
to 1 run_platform_command and 1 wait_for_file_on_target functions
located in some utility classes.

Differential revision: http://reviews.llvm.org/D18789

llvm-svn: 265398
lldb/packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/TestAttachDenied.py
lldb/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/packages/Python/lldbsuite/test/lldbutil.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
lldb/packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py