Python 3 porting - Wrap returns from map() in list()

Under Python 2 this has no effect, since map() returns a list.
In Python 3 map() returns an iterable, so wrapping in a list is
necessary to keep the same semantics.

llvm-svn: 251060
diff --git a/lldb/test/dosep.py b/lldb/test/dosep.py
index f413336..7f276e0 100755
--- a/lldb/test/dosep.py
+++ b/lldb/test/dosep.py
@@ -921,7 +921,7 @@
         socket_thread.start()
 
     # Do the work.
-    test_results = map(process_dir_mapper_inprocess, test_work_items)
+    test_results = list(map(process_dir_mapper_inprocess, test_work_items))
 
     # If we have a listener channel, shut it down here.
     if RESULTS_LISTENER_CHANNEL is not None: