forked from enlightenment/efl
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:
parent
a60f19611a
commit
b13fe184bf
|
@ -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@ \
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue