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,
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,
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits