summaryrefslogtreecommitdiff
path: root/.ci/ci-make-install.sh
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-08-19 14:17:28 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2019-11-27 14:21:25 +0100
commitf8253267505879a3baf49849fc4780156919030f (patch)
tree1b2df7474f20aef07c666346dcf28122c82405dc /.ci/ci-make-install.sh
parent3bc0fef21ce5cd16799da5f47d3a36abc0aa8201 (diff)
ci: travis: add job to build efl and run tests with address sanitizer
A first step to have addrress sanitizer coverage on our EFL build. It already catched some use after free errors and memory corruptions. Still we have some limititation how we are running this right now. We currently ignore some leaks that are exposed durign the normal build wile haveing the short living runs of edje_cc, elm_prefs_cc, etc. For now the whole leak detection is disabled on the testsuite as well. This is still very valuable, especially for all non-leak cases it finds, thus we are goign to run this on our daily build. Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10691
Diffstat (limited to '.ci/ci-make-install.sh')
-rwxr-xr-x.ci/ci-make-install.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.ci/ci-make-install.sh b/.ci/ci-make-install.sh
index 74769896c3..08bf1db204 100755
--- a/.ci/ci-make-install.sh
+++ b/.ci/ci-make-install.sh
@@ -9,6 +9,10 @@ if [ "$1" = "coverity" ] ; then
9 exit 0 9 exit 0
10fi 10fi
11travis_fold install "ninja install" 11travis_fold install "ninja install"
12if [ "$1" = "asan" ]; then
13 docker exec --env EIO_MONITOR_POLL=1 --env ASAN_OPTIONS=abort_on_error=0 --env LSAN_OPTIONS=suppressions=/src/.ci/asan-ignore-leaks.supp $(cat $HOME/cid) ninja -C build install
14 exit $?
15fi
12if [ "$DISTRO" != "" ] ; then 16if [ "$DISTRO" != "" ] ; then
13 docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build install 17 docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build install
14else 18else