summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-04-10 23:20:05 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2018-04-11 13:43:38 -0300
commit15afb832e6b66308c7c0f2c9f961a5bd1963b401 (patch)
tree113b172bcd3eebd63dabf59793784cbf8c5f18cd
parent253430ab76348d99c81e3b753b6a32817bdb6666 (diff)
downloadefl-15afb832e6b66308c7c0f2c9f961a5bd1963b401.tar.gz
tests: Fix compilation when timing is disabled.
Reviewers: zmike, cedric Reviewed By: zmike Differential Revision: https://phab.enlightenment.org/D5919
-rw-r--r--src/tests/efl_check.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/efl_check.h b/src/tests/efl_check.h
index 3231b0d54e..a2201f29a4 100644
--- a/src/tests/efl_check.h
+++ b/src/tests/efl_check.h
@@ -271,8 +271,10 @@ _efl_suite_build_and_run(int argc, const char **argv, const char *suite_name, co
if (pid > 0)
{
num_forks++;
+#ifdef ENABLE_TIMING_INFO
if (timing)
tcstart = _timing_time_get();
+#endif
continue;
}
}