diff options
author | Nikias Bassen | 2019-12-18 02:06:17 +0100 |
---|---|---|
committer | Nikias Bassen | 2019-12-18 02:06:17 +0100 |
commit | 8b09d3fc115b3816e7afaad7a40029050111bb34 (patch) | |
tree | 67a7e8ecd66a33017d50fe1bbb7226b9555ae761 /.github | |
parent | 878d0d830584cf04217f9460a5830be5bf23204d (diff) | |
download | libplist-8b09d3fc115b3816e7afaad7a40029050111bb34.tar.gz libplist-8b09d3fc115b3816e7afaad7a40029050111bb34.tar.bz2 |
[github actions] Print test log of failed tests when testing windows build
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a97e04..6df5a4c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,3 +48,15 @@ jobs: run: msys2do make - name: make check run: msys2do make check + - name: print test logs + run: | + for I in test/*.trs; do + RES=`grep ":test-result" $I |cut -d ":" -f 3` + if test $RES != PASS; then + TESTNAME=`basename $I .trs` + echo $TESTNAME: + cat test/$TESTNAME.log + echo + fi + done + shell: bash |