Try some tests with -D_GLIBCXX_DEBUG and coverage with -O0.
This commit is contained in:
parent
5c764d9a81
commit
aa0675ffd7
14
.travis.yml
14
.travis.yml
@ -40,10 +40,10 @@ matrix:
|
|||||||
- env: CONF=debug ARCH=x86_64 CXX11=OFF CXX17=OFF
|
- env: CONF=debug ARCH=x86_64 CXX11=OFF CXX17=OFF
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
arch: amd64
|
arch: amd64
|
||||||
- env: CONF=debug ARCH=x86 CXX11=OFF CXX17=ON
|
- env: CONF=debug ARCH=x86 CXX11=OFF CXX17=ON CXX_FLAGS='-D_GLIBCXX_DEBUG'
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
arch: amd64
|
arch: amd64/
|
||||||
- env: CONF=debug ARCH=x86_64 CXX11=OFF CXX17=ON
|
- env: CONF=debug ARCH=x86_64 CXX11=OFF CXX17=ON CXX_FLAGS='-D_GLIBCXX_DEBUG'
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
arch: amd64
|
arch: amd64
|
||||||
- env: CONF=release ARCH=aarch64 CXX11=ON CXX17=OFF
|
- env: CONF=release ARCH=aarch64 CXX11=ON CXX17=OFF
|
||||||
@ -84,7 +84,7 @@ matrix:
|
|||||||
compiler: clang
|
compiler: clang
|
||||||
arch: arm64
|
arch: arm64
|
||||||
# coverage report
|
# coverage report
|
||||||
- env: CONF=debug ARCH=x86 CXX11=ON CXX17=OFF GCOV_FLAGS='--coverage'
|
- env: CONF=debug ARCH=x86 GCOV_FLAGS='--coverage' CXX_FLAGS='-O0' CXX11=OFF CXX17=OFF
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
arch: amd64
|
arch: amd64
|
||||||
cache:
|
cache:
|
||||||
@ -93,7 +93,7 @@ matrix:
|
|||||||
after_success:
|
after_success:
|
||||||
- pip install --user cpp-coveralls
|
- pip install --user cpp-coveralls
|
||||||
- coveralls -r .. --gcov-options '\-lp' -e thirdparty -e example -e test -e build/CMakeFiles -e include/rapidjson/msinttypes -e include/rapidjson/internal/meta.h -e include/rapidjson/error/en.h
|
- coveralls -r .. --gcov-options '\-lp' -e thirdparty -e example -e test -e build/CMakeFiles -e include/rapidjson/msinttypes -e include/rapidjson/internal/meta.h -e include/rapidjson/error/en.h
|
||||||
- env: CONF=debug ARCH=x86_64 GCOV_FLAGS='--coverage'
|
- env: CONF=debug ARCH=x86_64 GCOV_FLAGS='--coverage' CXX_FLAGS='-O0' CXX11=ON CXX17=OFF
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
arch: amd64
|
arch: amd64
|
||||||
cache:
|
cache:
|
||||||
@ -102,7 +102,7 @@ matrix:
|
|||||||
after_success:
|
after_success:
|
||||||
- pip install --user cpp-coveralls
|
- pip install --user cpp-coveralls
|
||||||
- coveralls -r .. --gcov-options '\-lp' -e thirdparty -e example -e test -e build/CMakeFiles -e include/rapidjson/msinttypes -e include/rapidjson/internal/meta.h -e include/rapidjson/error/en.h
|
- coveralls -r .. --gcov-options '\-lp' -e thirdparty -e example -e test -e build/CMakeFiles -e include/rapidjson/msinttypes -e include/rapidjson/internal/meta.h -e include/rapidjson/error/en.h
|
||||||
- env: CONF=debug ARCH=aarch64 GCOV_FLAGS='--coverage'
|
- env: CONF=debug ARCH=aarch64 GCOV_FLAGS='--coverage' CXX_FLAGS='-O0' CXX11=OFF CXX17=ON
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
arch: arm64
|
arch: arm64
|
||||||
cache:
|
cache:
|
||||||
@ -150,7 +150,7 @@ script:
|
|||||||
-DRAPIDJSON_BUILD_CXX17=$CXX17
|
-DRAPIDJSON_BUILD_CXX17=$CXX17
|
||||||
-DCMAKE_VERBOSE_MAKEFILE=ON
|
-DCMAKE_VERBOSE_MAKEFILE=ON
|
||||||
-DCMAKE_BUILD_TYPE=$CONF
|
-DCMAKE_BUILD_TYPE=$CONF
|
||||||
-DCMAKE_CXX_FLAGS="$ARCH_FLAGS $GCOV_FLAGS"
|
-DCMAKE_CXX_FLAGS="$ARCH_FLAGS $GCOV_FLAGS $CXX_FLAGS"
|
||||||
-DCMAKE_EXE_LINKER_FLAGS=$GCOV_FLAGS
|
-DCMAKE_EXE_LINKER_FLAGS=$GCOV_FLAGS
|
||||||
..)
|
..)
|
||||||
- cd build
|
- cd build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user