diff options
author | Andrei Vagin <avagin@virtuozzo.com> | 2017-10-02 21:45:48 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@virtuozzo.com> | 2017-10-17 08:40:44 +0300 |
commit | 061a407ce3fdf6a3e3398b43c8c787a1a27d0991 (patch) | |
tree | 8ef75b66a2f00e8e78d7d93a7d2831ff2800a833 /scripts/travis | |
parent | 7678f440cac6ea74040bff82b8d7964b3640c8e6 (diff) |
alpine: compile all tests
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Diffstat (limited to 'scripts/travis')
-rw-r--r-- | scripts/travis/Makefile | 5 | ||||
-rwxr-xr-x | scripts/travis/asan.sh | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/scripts/travis/Makefile b/scripts/travis/Makefile index 53b27649a..48a04fa35 100644 --- a/scripts/travis/Makefile +++ b/scripts/travis/Makefile @@ -12,12 +12,15 @@ ifdef CLANG endif TARGETS := fedora-asan alpine fedora-rawhide +ZDTM_OPTIONS := + +alpine: ZDTM_OPTIONS=-x zdtm/static/binfmt_misc -x zdtm/static/netns-nf -x zdtm/static/sched_policy00 -x zdtm/static/seccomp_strict -x zdtm/static/sigaltstack -x zdtm/static/signalfd00 -x zdtm/static/config_inotify_irmap $(TARGETS): echo 'DOCKER_OPTS="--storage-driver=devicemapper"' > /etc/default/docker restart docker $(MAKE) -C ../build $@$(target-suffix) - docker run --rm -it --privileged -v /lib/modules:/lib/modules criu-$@ ./scripts/travis/asan.sh + docker run --rm -it --privileged -v /lib/modules:/lib/modules criu-$@ ./scripts/travis/asan.sh $(ZDTM_OPTIONS) docker-test: ./docker-test.sh diff --git a/scripts/travis/asan.sh b/scripts/travis/asan.sh index 5b34da61e..15bfe53fe 100755 --- a/scripts/travis/asan.sh +++ b/scripts/travis/asan.sh @@ -8,7 +8,7 @@ chmod 0777 test chmod 0777 test/zdtm/transition/ chmod 0777 test/zdtm/static -./test/zdtm.py run -a --keep-going -k always --parallel 4 -x zdtm/static/rtc +./test/zdtm.py run -a --keep-going -k always --parallel 4 -x zdtm/static/rtc "$@" ret=$? for i in `find / -name 'asan.log*'`; do |