Index: tools/run-tests.py |
diff --git a/tools/run-tests.py b/tools/run-tests.py |
index c09ea064d9f083df79d3eeb31eb0be74203168d6..f20af169d224a70037bf06e4cc0c1a0cac0d55fb 100755 |
--- a/tools/run-tests.py |
+++ b/tools/run-tests.py |
@@ -155,7 +155,7 @@ def ProcessOptions(options): |
options.mode = tokens[1] |
options.mode = options.mode.split(",") |
for mode in options.mode: |
- if not mode in ["debug", "release"]: |
+ if not mode.lower() in ["debug", "release"]: |
print "Unknown mode %s" % mode |
return False |
if options.arch in ["auto", "native"]: |