diff options
-rw-r--r-- | webkit/tools/layout_tests/rebaseline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/layout_tests/rebaseline.py b/webkit/tools/layout_tests/rebaseline.py index f49c072..0ec3126 100644 --- a/webkit/tools/layout_tests/rebaseline.py +++ b/webkit/tools/layout_tests/rebaseline.py @@ -766,7 +766,7 @@ def main(): sys.exit(1) platforms = [p.strip().lower() for p in options.platforms.split(',')] for platform in platforms: - if not TestExpectationsFile.ToTestPlatformName(platform): + if not platform in test_expectations.TestExpectationsFile.PLATFORMS: logging.error('Invalid platform platform: "%s"' % (platform)) sys.exit(1) |