[Lldb-commits] [PATCH] D18789: [NFC] Cleanup the code used to run shell commands from tests

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 5 06:58:26 PDT 2016


tberghammer created this revision.
tberghammer added a reviewer: labath.
tberghammer added a subscriber: lldb-commits.

[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.


http://reviews.llvm.org/D18789

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18789.52681.patch
Type: text/x-patch
Size: 9562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160405/55419064/attachment.bin>


More information about the lldb-commits mailing list