diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rwxr-xr-x | lldb/packages/Python/lldbsuite/test/dotest.py | 5 |
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) |