Skip to content

Commit

Permalink
[CI] Limiting sanitizer outputs (4MB limit on Travis logs)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmed256 committed Jun 14, 2018
1 parent 1a562c2 commit 895bb70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ before_install:
script:
- cd ${TRAVIS_BUILD_DIR}
- CXXFLAGS="${BUILD_CXXFLAGS}" make -j
- CXXFLAGS="${BUILD_CXXFLAGS}" make -j 4

- cd ${TRAVIS_BUILD_DIR}
- CXXFLAGS="${TEST_CXXFLAGS}" make -j test
- CXXFLAGS="${TEST_CXXFLAGS}" make -j 4 test
- |
if [ ${RUNNING_CODECOV} ]; then
bash <(curl -s https://codecov.io/bash)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ unit-tests: $(tests)
linechars=$$((60 - $${chars})); \
line=$$(printf '%*s' $${linechars} | tr ' ' '-'); \
echo -e "\n---[ $${testname} ]$${line}"; \
ASAN_OPTIONS=protect_shadow_gap=0 $$test; \
ASAN_OPTIONS=protect_shadow_gap=0 $$test 2>&1 | head -n 100; \
done

e2e-tests: unit-tests
Expand Down

0 comments on commit 895bb70

Please sign in to comment.