tests/ecore_wl2: Fix check for Enlightenment compositor

ref T8016
This commit is contained in:
Christopher Michael 2020-01-29 09:01:06 -05:00
parent 0bf3fd3866
commit ba3fbb5667
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ void
ecore_wl2_test_init(TCase *tc) ecore_wl2_test_init(TCase *tc)
{ {
tcase_add_test(tc, ecore_wl2_simple); tcase_add_test(tc, ecore_wl2_simple);
if (getenv("E_START")) if (getenv("WAYLAND_DISPLAY") && (getenv("E_START")))
{ {
tcase_add_test(tc, wl2_session_recovery_disable); tcase_add_test(tc, wl2_session_recovery_disable);
} }