diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 83696c5..141399d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.gitignore b/.gitignore index 25e66a3..2e2dbcd 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/test-suite-log b/test-suite-log new file mode 100755 index 0000000..d0e1429 --- /dev/null +++ b/test-suite-log @@ -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