1
0
Fork 0
mutter-performance-source/tests/conform
Neil Roberts 7fd6273c25 tests: Generate the stub scripts using sed
Instead of trying to run ./test-conformance with the -l option to
generate a list of available tests it now runs sed on the
test-conform-main.c file instead. Running the generated executable is
a pain for cross-compiling so it would be nice to avoid it unless it's
absolutely necessary. Although you could tell people who are cross
compiling to just disable the conformance tests, this seems a shame
because they could still be useful along with the wrappers for example
if the cross compile is built to a shared network folder where the
tests can be run on the actual device.

The sed script is a little more ugly than it could be because it tries
to avoid using the GNU extensions '\+' and '\|'.

The script ends up placing restrictions on the format of the C file
because the tests must all be listed on one line each. There is now a
comment to explain this. Hopefully the trade off is worth it.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2363
2010-10-12 15:24:32 +01:00
..
ADDING_NEW_TESTS * tests/conform/ADDING_NEW_TESTS 2008-11-10 18:52:50 +00:00
Makefile.am tests: Generate the stub scripts using sed 2010-10-12 15:24:32 +01:00
run-tests.sh Restore the report on the conformance test suite 2010-07-07 14:52:19 +01:00
test-actor-destroy.c actor: Turn push/pop_internal into Actor methods 2010-02-15 16:09:26 +00:00
test-actor-invariants.c Add a conformance test for clutter_actor_contains 2010-09-28 15:21:49 +01:00
test-actor-size.c [tests] Add preferred size conformance test unit 2009-09-15 11:27:50 +01:00
test-anchors.c Remove usage of Units and macros 2009-06-04 16:30:30 +01:00
test-animator.c conformance: Use g_assert_no_error() if available 2010-03-02 19:10:07 +00:00
test-behaviours.c conform: fix stack corruption in test-behaviours.c 2010-02-09 13:09:24 +00:00
test-binding-pool.c keysyms: Update the macros to CLUTTER_KEY_* 2010-09-10 17:54:52 +01:00
test-clutter-cairo-texture.c Add a conformance test for ClutterCairoTexture 2010-05-11 15:57:12 +01:00
test-clutter-rectangle.c Disable single header inclusion for GLib 2009-06-15 11:29:37 +01:00
test-clutter-text.c keysyms: Update the macros to CLUTTER_KEY_* 2010-09-10 17:54:52 +01:00
test-clutter-texture.c [texture] Support picking textures according to their alpha channel 2010-05-28 16:07:17 +01:00
test-clutter-units.c test-clutter-units: Force a known resolution to avoid fuzzyness 2010-09-24 16:21:06 +01:00
test-cogl-backface-culling.c Replace cogl_color_set_from_* with cogl_color_init_from_* 2010-09-03 16:58:47 +01:00
test-cogl-blend-strings.c Replace cogl_color_set_from_* with cogl_color_init_from_* 2010-09-03 16:58:47 +01:00
test-cogl-depth-test.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-cogl-fixed.c tests: rename cogl conformance tests so they can be clearly identified 2009-11-27 00:28:39 +00:00
test-cogl-materials.c Replace cogl_color_set_from_* with cogl_color_init_from_* 2010-09-03 16:58:47 +01:00
test-cogl-multitexture.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-cogl-npot-texture.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-cogl-object.c conform: Adds a test-cogl-object conformance test 2010-06-04 14:44:15 +01:00
test-cogl-offscreen.c cogl: Support any format in cogl_read_pixels 2010-03-02 11:01:35 +00:00
test-cogl-path.c test-cogl-path: Add tests for changing the fill rule 2010-06-29 20:37:14 +01:00
test-cogl-pixel-buffer.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-cogl-premult.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-cogl-readpixels.c test-cogl-readpixels: Reset the viewport and matrices 2010-05-06 14:18:32 +01:00
test-cogl-sub-texture.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-cogl-texture-3d.c Add a conformance test for 3D textures 2010-07-13 14:29:02 +01:00
test-cogl-texture-get-set-data.c Add a conformance test for cogl_texture_{get_data,set_region} 2010-07-09 11:14:10 +01:00
test-cogl-texture-mipmaps.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-cogl-texture-pixmap-x11.c Add a test case for CoglTexturePixmapX11 2010-06-22 12:22:48 +01:00
test-cogl-texture-rectangle.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-cogl-vertex-buffer-contiguous.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-cogl-vertex-buffer-interleved.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-cogl-vertex-buffer-mutability.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-cogl-viewport.c Replace cogl_color_set_from_* with cogl_color_init_from_* 2010-09-03 16:58:47 +01:00
test-cogl-wrap-modes.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-color.c conform: Add operators tests for ClutterColor 2010-01-14 14:07:04 +00:00
test-conform-common.c test-conform: Delay initializing Clutter until a test is run 2010-09-21 14:10:19 +01:00
test-conform-common.h tests: Allow getting data files from the tests/data directory 2009-11-04 11:47:09 +00:00
test-conform-main.c tests: Generate the stub scripts using sed 2010-10-12 15:24:32 +01:00
test-group.c [tests] Add a Group actor unit 2009-08-25 17:57:22 +01:00
test-launcher.sh.in build: Allow to run the tests from any directory 2010-07-06 12:39:15 +01:00
test-model.c conformance: Use g_assert_no_error() if available 2010-03-02 19:10:07 +00:00
test-paint-opacity.c Update the paint opacity unit test 2008-12-11 12:26:47 +00:00
test-path.c analysis: Conformance tests 2010-02-12 14:57:56 +00:00
test-pick.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-score.c conform: Move the Score test to the conformance suite 2010-07-30 19:39:35 +01:00
test-script-parser.c test-script-parser: Add a second child to the container 2010-08-25 16:18:25 +01:00
test-state.c state: Plug some memory leakage 2010-08-13 12:12:59 +01:00
test-text-cache.c Change the paint forcing on the Text cache text 2009-06-11 12:23:09 +01:00
test-texture-fbo.c tests: don't delay/skip frames due to glReadPixel concerns 2010-07-08 22:40:35 +01:00
test-timeline-interpolate.c Revert "[timeline] Don't clamp the elapsed time when a looping tl reaches the end" 2009-06-11 11:46:41 +01:00
test-timeline-rewind.c [tests] Don't add a newline to the end of g_test_message calls 2009-06-11 11:38:49 +01:00
test-timeline.c test-timeline: instantiate a stage so the master clock runs 2010-07-07 16:00:46 +01:00