forked from enlightenment/efl
tests: disable elm glview tests when running in buffer engine
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
This commit is contained in:
parent
0a6c302e9a
commit
ac5f11ed1f
|
@ -101,6 +101,8 @@ main(int argc, char **argv)
|
|||
#endif
|
||||
if (!getenv("ELM_ENGINE"))
|
||||
putenv("ELM_ENGINE=buffer");
|
||||
if (eina_streq(getenv("ELM_ENGINE"), "buffer"))
|
||||
putenv("TESTS_GL_DISABLED=1");
|
||||
|
||||
failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
|
||||
"Elementary", etc);
|
||||
|
|
|
@ -56,6 +56,11 @@ END_TEST
|
|||
|
||||
void elm_test_glview(TCase *tc)
|
||||
{
|
||||
if (getenv("TESTS_GL_DISABLED"))
|
||||
{
|
||||
fprintf(stdout, "glview tests disabled in buffer engine\n");
|
||||
return;
|
||||
}
|
||||
tcase_add_test(tc, elm_glview_legacy_type_check);
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue