summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rwxr-xr-xlldb/packages/Python/lldbsuite/test/dotest.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 0c569bc81e8..278b22c78c6 100755
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
"""
A simple testing framework for lldb using python's unit testing framework.
@@ -2039,4 +2037,5 @@ def run_suite():
exitTestSuite(failed)
if __name__ == "__main__":
- run_suite() \ No newline at end of file
+ print(__file__ + " is for use as a module only. It should not be run as a standalone script.")
+ sys.exit(-1)
OpenPOWER on IntegriCloud