summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-04-12 09:35:17 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-04-12 09:35:17 +0000
commit4955c77c2df3e00b96fa71e20aee119ba0d991e9 (patch)
treecb0894f5cae1f94411825028e80bb17b82f4554c /lldb/packages/Python/lldbsuite
parent1bf22e7722846aa12cc6fedb360b72d6f2eb4d09 (diff)
downloadbcm5719-llvm-4955c77c2df3e00b96fa71e20aee119ba0d991e9.tar.gz
bcm5719-llvm-4955c77c2df3e00b96fa71e20aee119ba0d991e9.zip
[dotest] Fix syntax error and typo.
Python uses `elif` rather than `else if`. Fixes r329889. llvm-svn: 329890
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest_args.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 6abf1636b11..506f5c4b036 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -303,7 +303,7 @@ def parseOptionsAndInitTestdirs():
if args.dsymutil:
os.environ['DSYMUTIL'] = args.dsymutil
- else if platform_system == 'Darwin':
+ elif platform_system == 'Darwin':
os.environ['DSYMUTIL'] = seven.get_command_output(
'xcrun -find -toolchain default dsymutil')
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py
index e878076bd3c..58190d8c75e 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest_args.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py
@@ -83,7 +83,7 @@ def create_parser():
help=textwrap.dedent('''Specify the extra flags to be passed to the toolchain when building the inferior programs to be debugged
suggestions: do not lump the "-A arch1 -A arch2" together such that the -E option applies to only one of the architectures'''))
- group.add_argument('--dsymutil', metavar='dsymutil', dest='dsymutil', help=textwrap.dedent('Specify Which dsymutil to use.'))
+ group.add_argument('--dsymutil', metavar='dsymutil', dest='dsymutil', help=textwrap.dedent('Specify which dsymutil to use.'))
# Test filtering options
group = parser.add_argument_group('Test filtering options')
OpenPOWER on IntegriCloud