tests: Clean up interactive test build
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 5 Nov 2009 17:30:33 +0000 (17:30 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 5 Nov 2009 17:47:26 +0000 (17:47 +0000)
commit0b4899ef23e4979326439613dfba814bd49aeb2e
treea8d21a591203dbe13c06c398cb0e2901df009241
parentc3368c0d157c5fa28a4e29e6caaed4323e82990d
tests: Clean up interactive test build

The build for interactive tests creates symbolic links for the data
under tests/data; it also uses symbolic links for creating "binaries"
for each interactive test. This is less than ideal, though.

Instead, the tests should build a path to the data files by using
a pre-processor define like TESTS_DATADIR; both g_build_filename() and
pre-processor string concatenation can be used to generate a valid
file name with the full path to the files.

The build system should also create wrapper scripts, just like we
do inside the conformance test suite, to be able to launch single
tests.
27 files changed:
.gitignore
tests/interactive/Makefile.am
tests/interactive/test-actor-clone.c
tests/interactive/test-actors.c
tests/interactive/test-behave.c
tests/interactive/test-bin-layout.c
tests/interactive/test-clip.c
tests/interactive/test-cogl-multitexture.c
tests/interactive/test-cogl-offscreen.c
tests/interactive/test-cogl-tex-convert.c
tests/interactive/test-cogl-tex-getset.c
tests/interactive/test-cogl-tex-polygon.c
tests/interactive/test-cogl-tex-tile.c
tests/interactive/test-depth.c
tests/interactive/test-devices.c
tests/interactive/test-fbo.c
tests/interactive/test-layout.c
tests/interactive/test-multistage.c
tests/interactive/test-paint-wrapper.c
tests/interactive/test-pixmap.c
tests/interactive/test-rotate.c
tests/interactive/test-script.c
tests/interactive/test-shader.c
tests/interactive/test-texture-async.c
tests/interactive/test-texture-quality.c
tests/interactive/test-viewport.c
tests/interactive/wrapper.sh