summaryrefslogtreecommitdiff
path: root/src/tests/elocation
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-10-29 11:28:17 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2014-11-11 11:10:12 +0100
commit2358c699835bba20b26c7276cb4c4d61320837dc (patch)
tree057c7a1900a0cfb42255c8056464d5b7101e3a4b /src/tests/elocation
parent9ab00e96edb99b056c83c60f3d192a725ef9bea3 (diff)
tests/elocation: Generate libcheck xml output for jenkins
Jenkins reads the xml file generated by libcheck to display the coverage. Also setup EFL_RUN_IN_TREE to make sure all paths are setup correctly.
Diffstat (limited to 'src/tests/elocation')
-rw-r--r--src/tests/elocation/elocation_suite.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/elocation/elocation_suite.c b/src/tests/elocation/elocation_suite.c
index 8077101e02..603f2b92b4 100644
--- a/src/tests/elocation/elocation_suite.c
+++ b/src/tests/elocation/elocation_suite.c
@@ -197,8 +197,11 @@ main(void)
197 SRunner *sr; 197 SRunner *sr;
198 int failed_count; 198 int failed_count;
199 199
200 putenv("EFL_RUN_IN_TREE=1");
201
200 s = elocation_suite(); 202 s = elocation_suite();
201 sr = srunner_create(s); 203 sr = srunner_create(s);
204 srunner_set_xml(sr, TESTS_BUILD_DIR "/check-results.xml");
202 srunner_run_all(sr, CK_ENV); 205 srunner_run_all(sr, CK_ENV);
203 failed_count = srunner_ntests_failed(sr); 206 failed_count = srunner_ntests_failed(sr);
204 srunner_free(sr); 207 srunner_free(sr);