summaryrefslogtreecommitdiff
path: root/tests/conform/test-just-vertex-shader.c
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2012-02-23 12:30:51 +0000
committerRobert Bragg <robert@linux.intel.com>2012-02-24 14:42:31 +0000
commitbbcbece6c976fbfc2e35d99e6ff3e4fb4115b8a4 (patch)
treeb964d1e97582c3e220a92d5f6e106d925be17e79 /tests/conform/test-just-vertex-shader.c
parentbe237cc2b7a02ad8b4ec78fe1a495e1b616e8688 (diff)
downloadcogl-bbcbece6c976fbfc2e35d99e6ff3e4fb4115b8a4.tar.gz
tests: Improve thoroughness and reporting of make test
This patch reworks our conformance testing framework because it seems that glib's gtesting framework isn't really well suited to our use case. For example we weren't able to test windows builds given the way we were using it and also for each test we'd like to repeat the test with several different environments so we can test important driver and feature combinations. This patch instead switches away to a simplified but custom approach for running our unit tests. We hope that having a more bespoke setup will enable us to easily extend it to focus on the details important to us. Notable changes with this new approach are: We can now run 'make test' for our mingw windows builds. We've got rid of all the test-*report* make rules and we're just left with 'make test' 'make test' now runs each test several times with different driver and feature combinations checking the result for each run. 'make test' will then output a concise table of all of the results. The combinations tested are: - OpenGL Fixed Function - OpenGL ARBfp - OpenGL GLSL - OpenGL No NPOT texture support - OpenGLES 2.0 - OpenGLES 2.0 No NPOT texture support Reviewed-by: Neil Roberts <neil@linux.intel.com>
Diffstat (limited to 'tests/conform/test-just-vertex-shader.c')
-rw-r--r--tests/conform/test-just-vertex-shader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conform/test-just-vertex-shader.c b/tests/conform/test-just-vertex-shader.c
index f564a395..ef0ecc2b 100644
--- a/tests/conform/test-just-vertex-shader.c
+++ b/tests/conform/test-just-vertex-shader.c
@@ -196,10 +196,10 @@ test_cogl_just_vertex_shader (TestUtilsGTestFixture *fixture,
paint (&state);
validate_result ();
- if (g_test_verbose ())
+ if (cogl_test_verbose ())
g_print ("OK\n");
}
- else if (g_test_verbose ())
+ else if (cogl_test_verbose ())
g_print ("Skipping\n");
}