[Piglit] [PATCH] generators: Add extensions requirements to gen_constant_array_size_tests
Dylan Baker
dylan at pnwbakers.com
Wed Jul 6 19:31:20 UTC 2016
This fixes int64 failures.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
generated_tests/gen_constant_array_size_tests.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/generated_tests/gen_constant_array_size_tests.py b/generated_tests/gen_constant_array_size_tests.py
index 8462c02..9c1a9a8 100644
--- a/generated_tests/gen_constant_array_size_tests.py
+++ b/generated_tests/gen_constant_array_size_tests.py
@@ -87,7 +87,11 @@ class ParserTest(object):
extension requirements that the test has. Returns the empty
list by default.
"""
- return []
+ ret = []
+ if self.__signature.extension:
+ ret.append(self.__signature.extension)
+
+ return ret
@abc.abstractmethod
def test_suffix(self):
--
2.9.0
More information about the Piglit
mailing list