From 1f7f500538ac7e4ecb7dc90c5e3fd7dfa3840c83 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sun, 12 Jun 2022 11:42:43 +0300 Subject: [PATCH] Main: cat test-suite.log files --- .github/workflows/main.yml | 6 +++--- .gitignore | 7 ++++--- test-suite-log | 6 ++++++ 3 files changed, 13 insertions(+), 6 deletions(-) create mode 100755 test-suite-log 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