diff --git a/build/travis/job1_Tests/install.sh b/build/travis/job1_Tests/install.sh index b51801c5a9..d0257b4584 100755 --- a/build/travis/job1_Tests/install.sh +++ b/build/travis/job1_Tests/install.sh @@ -5,5 +5,6 @@ set -e # exit on error set -x # echo commands make revision -make debug CPUS=2 PREFIX="$HOME/software" COVERAGE=ON -make installdebug CPUS=2 PREFIX="$HOME/software" +export CXXFLAGS="-fsanitize=address -fno-omit-frame-pointer" +# make debug CPUS=2 PREFIX="$HOME/software" COVERAGE=ON +make installdebug CPUS=2 PREFIX="$HOME/software" COVERAGE=ON # make debug is already called by installdebug as a dependency diff --git a/build/travis/job1_Tests/run_tests.sh b/build/travis/job1_Tests/run_tests.sh index 9e6ed89dad..d3d118bd5d 100755 --- a/build/travis/job1_Tests/run_tests.sh +++ b/build/travis/job1_Tests/run_tests.sh @@ -6,6 +6,7 @@ cd build.debug/mtest # vnc is the only tested platform plugin that allows to run # mscore executable in the used Travis environment. export QT_QPA_PLATFORM=vnc +export ASAN_OPTIONS=detect_leaks=0 xvfb-run -a ctest -j2 --output-on-failure