summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2013-09-16 22:32:24 -0700
committerChad Versace <chad.versace@linux.intel.com>2013-09-18 22:49:57 -0700
commit09555510d5036775bebcccc77d935cf54126c6ce (patch)
tree46ef548bd800be14704dd705abcedbc9c6e50782 /tests
parent1cdec12a20648bc0197b83ae4e964d424f43657e (diff)
tests/gl_basic: Fix order of CGL tests
The order which test functions are defined should match the order listed in ${platform}_testsuite. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/gl_basic_test.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/functional/gl_basic_test.c b/tests/functional/gl_basic_test.c
index b1453e8..38ba18c 100644
--- a/tests/functional/gl_basic_test.c
+++ b/tests/functional/gl_basic_test.c
@@ -349,13 +349,6 @@ TEST(gl_basic, cgl_init)
gl_basic_init(WAFFLE_PLATFORM_CGL);
}
-TEST(gl_basic, cgl_gl_fwdcompat_bad_attribute)
-{
- gl_basic_draw(.api=WAFFLE_CONTEXT_OPENGL,
- .forward_compatible=true,
- .expect_error=WAFFLE_ERROR_BAD_ATTRIBUTE);
-}
-
TEST(gl_basic, cgl_gles1_unsupported)
{
gl_basic_draw(.api=WAFFLE_CONTEXT_OPENGL_ES1,
@@ -386,6 +379,13 @@ TEST(gl_basic, cgl_gl_debug_is_unsupported)
.expect_error=WAFFLE_ERROR_UNSUPPORTED_ON_PLATFORM);
}
+TEST(gl_basic, cgl_gl_fwdcompat_bad_attribute)
+{
+ gl_basic_draw(.api=WAFFLE_CONTEXT_OPENGL,
+ .forward_compatible=true,
+ .expect_error=WAFFLE_ERROR_BAD_ATTRIBUTE);
+}
+
static void
testsuite_cgl(void)
{