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-16 22:32:24 -0700
commit58efa4fbd4eee7c03cc7a280c72f58c302a70ceb (patch)
tree46ef548bd800be14704dd705abcedbc9c6e50782 /tests
parent4257b2e94f901760bd36d0e9e29ec1c506a46cbf (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)
{