Ecore tests: Define TESTS_SRC_DIR in the same way as the other tests.

Deprecate CHECK_SRC_DIR which is not needed anymore because of that.
This commit is contained in:
Tom Hacohen 2013-03-12 11:43:23 +00:00
parent a60f19611a
commit b13fe184bf
3 changed files with 3 additions and 4 deletions

View File

@ -71,8 +71,7 @@ tests/ecore/ecore_test_coroutine.c \
tests/ecore/ecore_suite.h
tests_ecore_ecore_suite_CPPFLAGS = \
-DTESTS_SRC_DIR=\"`pwd`/$(top_srcdir)\" \
-DCHECK_SRC_DIR=\"$(top_srcdir)/src/tests/ecore\" \
-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/ecore\" \
@CHECK_CFLAGS@ \
@ECORE_CFLAGS@ \
@ECORE_AUDIO_CFLAGS@ \

View File

@ -102,7 +102,7 @@ main(int argc, char **argv)
s = ecore_suite_build(argc - 1, (const char **)argv + 1);
sr = srunner_create(s);
srunner_set_xml (sr, CHECK_SRC_DIR "/check-results.xml");
srunner_set_xml (sr, TESTS_SRC_DIR "/check-results.xml");
srunner_run_all(sr, CK_ENV);
failed_count = srunner_ntests_failed(sr);

View File

@ -14,7 +14,7 @@
#define SF_FORMAT_RAW 0x040000
#define SF_FORMAT_PCM_U8 0x0005
#define SOUNDS_DIR TESTS_SRC_DIR"/src/tests/ecore/"
#define SOUNDS_DIR TESTS_SRC_DIR
#if 0
/* TODO: must fix these tests to produce no warnings and to be