tests/ecore: remove ecore-drm test

Summary:
this caused DSO linker issues when enabled and was only testing
init+shutdown for a deprecated component which has not been actively developed
in some time

Reviewers: devilhorns, ManMower, bu5hm4n

Reviewed By: devilhorns, ManMower

Subscribers: bu5hm4n, ManMower, cedric, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6539
This commit is contained in:
Mike Blumenkrantz 2018-07-10 14:44:44 -04:00 committed by Chris Michael
parent bda4565d9c
commit 9028fb5ac2
4 changed files with 0 additions and 65 deletions

View File

@ -300,7 +300,6 @@ tests_ecore_ecore_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_EVAS_CFLAGS@ \
@ECORE_WAYLAND_CFLAGS@ \
@ECORE_WAYLAND_SRV_CFLAGS@ \
@ECORE_DRM_CFLAGS@ \
@ECORE_FB_CFLAGS@ \
@ECORE_INPUT_CFLAGS@
@ -315,7 +314,6 @@ tests_ecore_ecore_suite_LDADD = \
@USE_ECORE_WAYLAND_LIBS@ \
@USE_ECORE_FB_LIBS@ \
@ECORE_WAYLAND_SRV_LIBS@ \
@ECORE_DRM_LIBS@ \
@USE_ECORE_INPUT_LIBS@
tests_ecore_ecore_suite_DEPENDENCIES = \
@USE_ECORE_INTERNAL_LIBS@ \
@ -325,7 +323,6 @@ tests_ecore_ecore_suite_DEPENDENCIES = \
@USE_ECORE_IMF_INTERNAL_LIBS@ \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_WAYLAND_INTERNAL_LIBS@ \
@USE_ECORE_DRM_INTERNAL_LIBS@ \
@USE_ECORE_FB_INTERNAL_LIBS@ \
@USE_ECORE_INPUT_INTERNAL_LIBS@
@ -349,7 +346,6 @@ tests_ecore_efl_app_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
@ECORE_EVAS_CFLAGS@ \
@ECORE_WAYLAND_CFLAGS@ \
@ECORE_WAYLAND_SRV_CFLAGS@ \
@ECORE_DRM_CFLAGS@ \
@ECORE_FB_CFLAGS@ \
@ECORE_INPUT_CFLAGS@
@ -364,7 +360,6 @@ tests_ecore_efl_app_suite_LDADD = \
@USE_ECORE_WAYLAND_LIBS@ \
@USE_ECORE_FB_LIBS@ \
@ECORE_WAYLAND_SRV_LIBS@ \
@ECORE_DRM_LIBS@ \
@USE_ECORE_INPUT_LIBS@
tests_ecore_efl_app_suite_DEPENDENCIES = \
@USE_ECORE_INTERNAL_LIBS@ \
@ -374,7 +369,6 @@ tests_ecore_efl_app_suite_DEPENDENCIES = \
@USE_ECORE_IMF_INTERNAL_LIBS@ \
@USE_ECORE_EVAS_INTERNAL_LIBS@ \
@USE_ECORE_WAYLAND_INTERNAL_LIBS@ \
@USE_ECORE_DRM_INTERNAL_LIBS@ \
@USE_ECORE_FB_INTERNAL_LIBS@ \
@USE_ECORE_INPUT_INTERNAL_LIBS@
@ -386,10 +380,6 @@ if HAVE_ECORE_AUDIO
tests_ecore_ecore_suite_SOURCES += tests/ecore/ecore_test_ecore_audio.c
endif
if HAVE_ECORE_DRM
tests_ecore_ecore_suite_SOURCES += tests/ecore/ecore_test_ecore_drm.c
endif
if HAVE_ECORE_FB
tests_ecore_ecore_suite_SOURCES += tests/ecore/ecore_test_ecore_fb.c
endif

View File

@ -22,9 +22,6 @@ static const Efl_Test_Case etc[] = {
{ "Ecore_Animators", ecore_test_animator },
{ "Eina_Thread_Queue", ecore_test_ecore_thread_eina_thread_queue },
{ "Eina_Thread_Queue", ecore_test_ecore_thread_eina_thread_queue2 },
#if HAVE_ECORE_DRM
{ "Ecore_Drm", ecore_test_ecore_drm },
#endif
#if HAVE_ECORE_FB
{ "Ecore_Fb", ecore_test_ecore_fb },
#endif

View File

@ -17,7 +17,6 @@ void ecore_test_ecore_evas(TCase *tc);
void ecore_test_animator(TCase *tc);
void ecore_test_ecore_thread_eina_thread_queue(TCase *tc);
void ecore_test_ecore_thread_eina_thread_queue2(TCase *tc);
void ecore_test_ecore_drm(TCase *tc);
void ecore_test_ecore_fb(TCase *tc);
void ecore_test_ecore_input(TCase *tc);
void ecore_test_ecore_file(TCase *tc);

View File

@ -1,51 +0,0 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <stdio.h>
#include <unistd.h>
#include <Ecore_Drm.h>
#include "ecore_suite.h"
#define MAX_ITER 10
EFL_START_TEST(ecore_test_ecore_drm_shutdown_bef_init)
{
int ret = 0;
ret = ecore_drm_shutdown();
fail_if(ret != 0);
ret = ecore_drm_init();
fail_if(ret != 1);
ret = ecore_drm_shutdown();
fail_if(ret != 0);
}
EFL_END_TEST
EFL_START_TEST(ecore_test_ecore_drm_init)
{
int ret, i, j;
for (i = 1; i <= MAX_ITER; i++)
{
ret = ecore_drm_init();
fail_if(ret != i);
}
for (j = MAX_ITER - 1; j >= 0; j--)
{
ret = ecore_drm_shutdown();
fail_if(ret != j);
}
}
EFL_END_TEST
void ecore_test_ecore_drm(TCase *tc)
{
tcase_add_test(tc, ecore_test_ecore_drm_init);
tcase_add_test(tc, ecore_test_ecore_drm_shutdown_bef_init);
}