[Lldb-commits] [PATCH] D79649: [lldb] [testsuite] TestReproducerAttach.py: Fix dependency on external symbol files

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat May 9 00:29:42 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG68a9356bdea6: [lldb] [testsuite] TestReproducerAttach.py: Fix dependency on external symbol… (authored by jankratochvil).

Changed prior to commit:
  https://reviews.llvm.org/D79649?vs=262941&id=262997#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79649/new/

https://reviews.llvm.org/D79649

Files:
  lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py


Index: lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py
===================================================================
--- lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py
+++ lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py
@@ -47,9 +47,10 @@
         # Use Popen because pexpect is overkill and spawnSubprocess is
         # asynchronous.
         capture = subprocess.Popen([
-            lldbtest_config.lldbExec, '-b', '--capture', '--capture-path',
-            reproducer, '-o', 'proc att -n {}'.format(exe), '-o',
-            'reproducer generate'
+            lldbtest_config.lldbExec, '-b', '--no-lldbinit', '--no-use-colors']
+            + sum(map(lambda x: ['-O', x], self.setUpCommands()), [])
+            + ['--capture', '--capture-path', reproducer,
+            '-o', 'proc att -n {}'.format(exe), '-o', 'reproducer generate'
         ],
                                    stdin=subprocess.PIPE,
                                    stdout=subprocess.PIPE,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79649.262997.patch
Type: text/x-patch
Size: 1053 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200509/271dbf73/attachment.bin>


More information about the lldb-commits mailing list