Add check for __main__ in dotest.py to ensure problems with multiprocessing on some Windows machines.

llvm-svn: 251549
This commit is contained in:
Adrian McCarthy 2015-10-28 19:59:18 +00:00
parent 0f0d2982b7
commit 9e3bbb903d

View File

@ -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()