stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2358c699835bba20b26c7276cb4c4d61320837dc

commit 2358c699835bba20b26c7276cb4c4d61320837dc
Author: Stefan Schmidt <[email protected]>
Date:   Wed Oct 29 11:28:17 2014 +0100

    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.
---
 src/tests/elocation/elocation_suite.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/tests/elocation/elocation_suite.c 
b/src/tests/elocation/elocation_suite.c
index 8077101..603f2b9 100644
--- a/src/tests/elocation/elocation_suite.c
+++ b/src/tests/elocation/elocation_suite.c
@@ -197,8 +197,11 @@ main(void)
    SRunner *sr;
    int failed_count;
 
+   putenv("EFL_RUN_IN_TREE=1");
+
    s = elocation_suite();
    sr = srunner_create(s);
+   srunner_set_xml(sr, TESTS_BUILD_DIR "/check-results.xml");
    srunner_run_all(sr, CK_ENV);
    failed_count = srunner_ntests_failed(sr);
    srunner_free(sr);

-- 


Reply via email to