tfiala added inline comments.

================
Comment at: packages/Python/lldbsuite/test/dosep.py:238-245
@@ +237,10 @@
+        # runner for our platform.
+        module_name = "lldbsuite.pre_kill_hook." + platform.system().lower()
+        try:
+            import importlib
+            module = importlib.import_module(module_name)
+        except ImportError:
+            # We don't have one for this platform.  Skip.
+            sys.stderr.write("\nwarning: no timeout handler module: " + 
module_name)
+            return
+
----------------
I suspect we will need to tweak this a bit.  We need to be able to dispatch on 
more than just the host platform.system(). It may be sufficient to pass along 
the test platform info as an argument.


https://reviews.llvm.org/D24850



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to