Skip to content

Commit

Permalink
mk: display full testlog.txt
Browse files Browse the repository at this point in the history
In case of a failure, 'ninja test' only displays last 100 lines.
  • Loading branch information
yoursunny committed Jun 20, 2020
1 parent 1a3df34 commit 4fa7957
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,22 @@ script:
- cd $TRAVIS_BUILD_DIR && mk/update-list.sh
- meson build.coverage -Db_coverage=true -Dwerror=true -Dunittest=enabled
- ninja -C build.coverage test
- |
travis_fold start "build.coverage/testlog"
cat build.coverage/meson-logs/testlog.txt
travis_fold end "build.coverage/testlog"
- meson build.sanitize -Db_sanitize=address,undefined -Dunittest=enabled
- ninja -C build.sanitize test
- |
travis_fold start "build.sanitize/testlog"
cat build.sanitize/meson-logs/testlog.txt
travis_fold end "build.sanitize/testlog"
- LDFLAGS='-fuse-ld=lld -L/usr/local/lib' meson build.llvm --native-file mk/native-llvm.txt --buildtype debugoptimized -Dunittest=enabled
- ninja -C build.llvm test
- |
travis_fold start "build.llvm/testlog"
cat build.llvm/meson-logs/testlog.txt
travis_fold end "build.llvm/testlog"
- build_platform esp8266
- build_platform esp32
- build_platform nrf52840
Expand Down

0 comments on commit 4fa7957

Please sign in to comment.