summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlldb/test/dotest.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py
index a8cac8afd55..1f9d52354f5 100755
--- a/lldb/test/dotest.py
+++ b/lldb/test/dotest.py
@@ -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()
OpenPOWER on IntegriCloud