summaryrefslogtreecommitdiff
path: root/src/tests/eet/eet_test_cache.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-03-26 14:19:28 -0400
committerStefan Schmidt <stefan@osg.samsung.com>2018-04-05 11:10:25 +0200
commitadc601aca2f0a16784af36bf6ae7dd20eeb33202 (patch)
treecac0a78fa40e88abb028b06d985c28bf89da269c /src/tests/eet/eet_test_cache.c
parentb340b5e49ccae48a7d5adbbfa301af39e232348c (diff)
tests: add instrumentation to existing tests to find slow tests
efl_check.h must be included and the EFL_START/END_TEST macros must be used in place of normal START/END_TEST macros timing is enabled when TIMING_ENABLED is set https://phab.enlightenment.org/w/improve_tests/ Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Diffstat (limited to 'src/tests/eet/eet_test_cache.c')
-rw-r--r--src/tests/eet/eet_test_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eet/eet_test_cache.c b/src/tests/eet/eet_test_cache.c
index 6713c410a0..02a51ed852 100644
--- a/src/tests/eet/eet_test_cache.c
+++ b/src/tests/eet/eet_test_cache.c
@@ -44,7 +44,7 @@ _open_close_worker(void *path, Eina_Thread tid EINA_UNUSED)
44 return NULL; 44 return NULL;
45} 45}
46 46
47START_TEST(eet_test_cache_concurrency) 47EFL_START_TEST(eet_test_cache_concurrency)
48{ 48{
49 char *file; 49 char *file;
50 const char *buffer = "test data"; 50 const char *buffer = "test data";
@@ -97,7 +97,7 @@ START_TEST(eet_test_cache_concurrency)
97 eina_threads_shutdown(); 97 eina_threads_shutdown();
98 eet_shutdown(); 98 eet_shutdown();
99} 99}
100END_TEST 100EFL_END_TEST
101 101
102void eet_test_cache(TCase *tc) 102void eet_test_cache(TCase *tc)
103{ 103{