summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlldb/test/dotest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py
index e93dbc2ce1b..07d5dee9767 100755
--- a/lldb/test/dotest.py
+++ b/lldb/test/dotest.py
@@ -480,7 +480,7 @@ def parseOptionsAndInitTestdirs():
elif sys.argv[index].startswith('-x'):
# Increment by 1 to fetch the breakpoint specification of the benchmark executable.
index += 1
- if index >= len(sys.argv) or sys.argv[index].startswith('-'):
+ if index >= len(sys.argv):
usage()
bmBreakpointSpec = sys.argv[index]
index += 1
OpenPOWER on IntegriCloud