diff options
author | Serge Guelton <sguelton@redhat.com> | 2019-03-21 07:19:09 +0000 |
---|---|---|
committer | Serge Guelton <sguelton@redhat.com> | 2019-03-21 07:19:09 +0000 |
commit | 32cffcf1aba9e5ac3315556b852e9c8ea6da64e7 (patch) | |
tree | e8bf3aae50d6306224b89993d01030b2e8fae90c /lldb/packages/Python/lldbsuite/test/dotest.py | |
parent | 8de7bc0bff05a5d5bc5d8849687993234f5e0ea9 (diff) | |
download | bcm5719-llvm-32cffcf1aba9e5ac3315556b852e9c8ea6da64e7.tar.gz bcm5719-llvm-32cffcf1aba9e5ac3315556b852e9c8ea6da64e7.zip |
Use list comprehension instead of map/filter to prepare Python2/3 compat
Differential Revision: https://reviews.llvm.org/D59579
llvm-svn: 356647
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index c6cae1b3406..b406def22f7 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -524,8 +524,7 @@ def parseOptionsAndInitTestdirs(): # Gather all the dirs passed on the command line. if len(args.args) > 0: - configuration.testdirs = list( - map(lambda x: os.path.realpath(os.path.abspath(x)), args.args)) + configuration.testdirs = [os.path.realpath(os.path.abspath(x)) for x in args.args] # Shut off multiprocessing mode when test directories are specified. configuration.no_multiprocess_test_runner = True |