1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2025-02-17 15:45:32 -05:00

Main: cat test-suite.log files

This commit is contained in:
Alex Kotov 2022-06-12 11:42:43 +03:00
parent 3c17a725d5
commit 1f7f500538
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
3 changed files with 13 additions and 6 deletions

View file

@ -29,7 +29,7 @@ jobs:
- name: make
run: make
- name: check
run: make check || (cat test-suite.log && false)
run: make check || (./test-suite-log && false)
- name: install
run: sudo make install
@ -52,7 +52,7 @@ jobs:
- name: make
run: make
- name: check
run: make check || (cat test-suite.log && false)
run: make check || (./test-suite-log && false)
- name: install
run: sudo make install
@ -76,7 +76,7 @@ jobs:
run: make
- working-directory: libkernaux-0.3.0
name: check
run: make check || (cat test-suite.log && false)
run: make check || (./test-suite-log && false)
- working-directory: libkernaux-0.3.0
name: install
run: sudo make install

7
.gitignore vendored
View file

@ -87,12 +87,13 @@
/config.status
/libtool
/stamp-h1
/test-suite.log
/examples/test-suite.log
/examples/*.log
/examples/*.trs
/tests/test*.log
/tests/test*.trs
/tests/test-suite.log
/tests/test_*.log
/tests/test_*.trs
# Custom

6
test-suite-log Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
set -eux
test -f examples/test-suite.log && cat examples/test-suite.log
test -f tests/test-suite.log && cat tests/test-suite.log