[Piglit] [PATCH 3/4] fbo-formats: start loop over test set names with 0, not 1
Brian Paul
brianp at vmware.com
Tue Jun 21 22:44:33 UTC 2016
I don't know why 0 was skipped. This change allows us to specify
the 0th test set "Core formats" on the command line.
---
tests/fbo/fbo-formats.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/fbo/fbo-formats.h b/tests/fbo/fbo-formats.h
index fcfad26..579b5c3 100644
--- a/tests/fbo/fbo-formats.h
+++ b/tests/fbo/fbo-formats.h
@@ -610,7 +610,7 @@ fbo_lookup_test_set(const char *test_set_name)
{
int i, j;
- for (i = 1; i < (int) ARRAY_SIZE(test_sets); i++) {
+ for (i = 0; i < (int) ARRAY_SIZE(test_sets); i++) {
if (!strcmp(test_set_name, test_sets[i].param)) {
for (j = 0; j < 3; j++) {
if (test_sets[i].ext[j]) {
--
1.9.1
More information about the Piglit
mailing list