| Index: content/test/gpu/gpu_tests/webgl_conformance.py
|
| diff --git a/content/test/gpu/gpu_tests/webgl_conformance.py b/content/test/gpu/gpu_tests/webgl_conformance.py
|
| index dffc795e6fd28e7867caa0910ae37dd32de28494..73af5dfdbe0ad094105f58802b0d1cd28e073d1d 100644
|
| --- a/content/test/gpu/gpu_tests/webgl_conformance.py
|
| +++ b/content/test/gpu/gpu_tests/webgl_conformance.py
|
| @@ -329,11 +329,15 @@ class WebglConformance(gpu_test_base.TestBase):
|
|
|
| i = 0
|
| min_version = None
|
| + max_version = None
|
| while i < len(line_tokens):
|
| token = line_tokens[i]
|
| if token == '--min-version':
|
| i += 1
|
| min_version = line_tokens[i]
|
| + elif token == '--max-version':
|
| + i += 1
|
| + max_version = line_tokens[i]
|
| i += 1
|
|
|
| min_version_to_compare = min_version or folder_min_version
|
| @@ -342,6 +346,9 @@ class WebglConformance(gpu_test_base.TestBase):
|
| _CompareVersion(version, min_version_to_compare) < 0):
|
| continue
|
|
|
| + if max_version and _CompareVersion(version, max_version) > 0:
|
| + continue
|
| +
|
| if (webgl2_only and not '.txt' in test_name and
|
| (not min_version_to_compare or
|
| not min_version_to_compare.startswith('2'))):
|
|
|