You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jd...@apache.org on 2020/04/25 20:12:10 UTC
[qpid-proton] 04/04: PROTON 2134 Run sanitizers on bionic,
forgot to wrap some ruby examples, disable failing
This is an automated email from the ASF dual-hosted git repository.
jdanek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
commit 8dad6a7cba8d05da0168c69c108590429c17256c
Author: Jiri Danek <jd...@redhat.com>
AuthorDate: Thu Nov 7 23:28:12 2019 +0100
PROTON 2134 Run sanitizers on bionic, forgot to wrap some ruby examples, disable failing
---
.travis.yml | 13 ++++++++++---
ruby/CMakeLists.txt | 2 +-
tests/preload_asan.sh | 3 +++
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index a4ace85..e722316 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,18 +28,25 @@ env:
matrix:
include:
- os: linux
+ dist: bionic
compiler: gcc
env:
- - QPID_PROTON_CMAKE_ARGS='-DRUNTIME_CHECK=asan'
+ # python-tox-test fails and ruby tests segfault
+ - QPID_PROTON_CMAKE_ARGS='-DRUNTIME_CHECK=asan -DENABLE_TOX_TEST=OFF'
+ - QPID_PROTON_CTEST_ARGS='-E ^ruby.*'
- os: linux
+ dist: bionic
compiler: clang
env:
- - QPID_PROTON_CMAKE_ARGS='-DRUNTIME_CHECK=asan '
+ - QPID_PROTON_CMAKE_ARGS='-DRUNTIME_CHECK=asan -DENABLE_TOX_TEST=OFF'
# otherwise, on Travis ldd gives `libclang_rt.asan-x86_64.so => not found` and binaries don't work
- LD_LIBRARY_PATH=/usr/local/clang-7.0.0/lib/clang/7.0.0/lib/linux/
- os: linux
+ dist: bionic
env:
- - QPID_PROTON_CMAKE_ARGS='-DRUNTIME_CHECK=tsan'
+ # python-test and python-tox-test segfault
+ - QPID_PROTON_CMAKE_ARGS='-DRUNTIME_CHECK=tsan -DENABLE_TOX_TEST=OFF'
+ - QPID_PROTON_CTEST_ARGS='-E python-test'
- os: linux
env:
- QPID_PROTON_CMAKE_ARGS='-DCMAKE_BUILD_TYPE=Coverage'
diff --git a/ruby/CMakeLists.txt b/ruby/CMakeLists.txt
index 79e7dcd..0463fe5 100644
--- a/ruby/CMakeLists.txt
+++ b/ruby/CMakeLists.txt
@@ -138,7 +138,7 @@ if (result EQUAL 0) # Have minitest
endmacro()
pn_add_test(
- UNWRAPPED
+ INTERPRETED
NAME ruby-example-test
PREPEND_ENVIRONMENT ${test_env}
COMMAND ${RUBY_EXECUTABLE} testme -v
diff --git a/tests/preload_asan.sh b/tests/preload_asan.sh
index 73171c2..753873c 100755
--- a/tests/preload_asan.sh
+++ b/tests/preload_asan.sh
@@ -34,6 +34,9 @@ case $EXE in
# Disable link order check to run with limited sanitizing
# Still seeing problems.
+
+ # https://github.com/google/sanitizers/issues/1066
+ # asan on Ubuntu Trusty does not recognize verify_asan_link_order=0 option
ASAN_OPTIONS=verify_asan_link_order=0
export ASAN_OPTIONS
;;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org