[Lldb-commits] [lldb] r251549 - Add check for __main__ in dotest.py to ensure problems with multiprocessing on some Windows machines.
Adrian McCarthy via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 28 12:59:18 PDT 2015
Author: amccarth
Date: Wed Oct 28 14:59:18 2015
New Revision: 251549
URL: http://llvm.org/viewvc/llvm-project?rev=251549&view=rev
Log:
Add check for __main__ in dotest.py to ensure problems with multiprocessing on some Windows machines.
Modified:
lldb/trunk/test/dotest.py
Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=251549&r1=251548&r2=251549&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Wed Oct 28 14:59:18 2015
@@ -1,6 +1,7 @@
#!/usr/bin/env python
-import use_lldb_suite
+if __name__ == "__main__":
+ import use_lldb_suite
-import lldbsuite.test
-lldbsuite.test.run_suite()
+ import lldbsuite.test
+ lldbsuite.test.run_suite()
More information about the lldb-commits
mailing list