tests: disable eo test timeouts when not forked

this makes debugging much easier

Differential Revision: https://phab.enlightenment.org/D6270
This commit is contained in:
Mike Blumenkrantz 2018-06-12 18:37:15 -04:00 committed by Marcel Hollerbach
parent abd1db8b1e
commit e5d4f9f63c
1 changed files with 5 additions and 2 deletions

View File

@ -1495,8 +1495,11 @@ EFL_START_TEST(eo_domain)
printf("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n");
#ifndef _WIN32
signal(SIGALRM, _timeout);
alarm(10);
if (!eina_streq(getenv("CK_FORK"), "no"))
{
signal(SIGALRM, _timeout);
alarm(10);
}
#endif
fail_if(efl_domain_get() != EFL_ID_DOMAIN_MAIN);