summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_code_file_test_memory.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/elementary/elm_code_file_test_memory.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/elementary/elm_code_file_test_memory.c')
-rw-r--r--src/tests/elementary/elm_code_file_test_memory.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/elementary/elm_code_file_test_memory.c b/src/tests/elementary/elm_code_file_test_memory.c
index 9df6f76..4257e9c 100644
--- a/src/tests/elementary/elm_code_file_test_memory.c
+++ b/src/tests/elementary/elm_code_file_test_memory.c
@@ -7,7 +7,7 @@
7#include "elm_suite.h" 7#include "elm_suite.h"
8#include "Elementary.h" 8#include "Elementary.h"
9 9
10START_TEST (elm_code_file_memory_lines) 10EFL_START_TEST (elm_code_file_memory_lines)
11{ 11{
12 Elm_Code *code; 12 Elm_Code *code;
13 13
@@ -22,9 +22,9 @@ START_TEST (elm_code_file_memory_lines)
22 elm_code_free(code); 22 elm_code_free(code);
23 elm_shutdown(); 23 elm_shutdown();
24} 24}
25END_TEST 25EFL_END_TEST
26 26
27START_TEST (elm_code_file_memory_tokens) 27EFL_START_TEST (elm_code_file_memory_tokens)
28{ 28{
29 Elm_Code_File *file; 29 Elm_Code_File *file;
30 Elm_Code_Line *line; 30 Elm_Code_Line *line;
@@ -42,7 +42,7 @@ START_TEST (elm_code_file_memory_tokens)
42 elm_code_free(code); 42 elm_code_free(code);
43 elm_shutdown(); 43 elm_shutdown();
44} 44}
45END_TEST 45EFL_END_TEST
46 46
47void elm_code_file_test_memory(TCase *tc) 47void elm_code_file_test_memory(TCase *tc)
48{ 48{