diff --git a/.github/workflows/build-macos-homebrew.yaml b/.github/workflows/build-macos-homebrew.yaml index adc52fd0f6..0f0b2d3058 100644 --- a/.github/workflows/build-macos-homebrew.yaml +++ b/.github/workflows/build-macos-homebrew.yaml @@ -132,12 +132,18 @@ jobs: echo ---- Files ---- ls -Rl ${test_root}/${test} if [ -f ${test_root}/${test}/test-stderr*.log ]; then - echo ---- Content of test-stderr*.log ---- - cat ${test_root}/${test}/test-stderr*.log + err_logs=($(ls ${test_root}/${test}/test-stderr*.log)) + for err_log in "${err_logs[@]}"; do + echo ---- Content of ${err_log} ---- + cat ${err_log} + done fi if [ -f ${test_root}/${test}/test-stdout*.log ]; then - echo ---- Content of test-stdout*.log ---- - cat ${test_root}/${test}/test-stdout*.log + out_logs=($(ls ${test_root}/${test}/test-stdout*.log)) + for out_log in "${out_logs[@]}"; do + echo ---- Content of ${out_log} ---- + cat ${out_log} + done fi echo "::endgroup::" done diff --git a/.github/workflows/build-windows-mingw.yaml b/.github/workflows/build-windows-mingw.yaml index 951ba15dab..383a9fa0b7 100644 --- a/.github/workflows/build-windows-mingw.yaml +++ b/.github/workflows/build-windows-mingw.yaml @@ -170,12 +170,18 @@ jobs: echo ---- Files ---- ls -Rl ${test_root}/${test} if [ -f ${test_root}/${test}/test-stderr*.log ]; then - echo ---- Content of test-stderr*.log ---- - cat ${test_root}/${test}/test-stderr*.log + err_logs=($(ls ${test_root}/${test}/test-stderr*.log)) + for err_log in "${err_logs[@]}"; do + echo ---- Content of ${err_log} ---- + cat ${err_log} + done fi if [ -f ${test_root}/${test}/test-stdout*.log ]; then - echo ---- Content of test-stdout*.log ---- - cat ${test_root}/${test}/test-stdout*.log + out_logs=($(ls ${test_root}/${test}/test-stdout*.log)) + for out_log in "${out_logs[@]}"; do + echo ---- Content of ${out_log} ---- + cat ${out_log} + done fi echo "::endgroup::" done diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 056fa3ccde..41c3f42d6d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -168,12 +168,18 @@ jobs: echo ---- Files ---- ls -Rl ${test_root}/${test} if [ -f ${test_root}/${test}/test-stderr*.log ]; then - echo ---- Content of test-stderr*.log ---- - cat ${test_root}/${test}/test-stderr*.log + err_logs=($(ls ${test_root}/${test}/test-stderr*.log)) + for err_log in "${err_logs[@]}"; do + echo ---- Content of ${err_log} ---- + cat ${err_log} + done fi if [ -f ${test_root}/${test}/test-stdout*.log ]; then - echo ---- Content of test-stdout*.log ---- - cat ${test_root}/${test}/test-stdout*.log + out_logs=($(ls ${test_root}/${test}/test-stdout*.log)) + for out_log in "${out_logs[@]}"; do + echo ---- Content of ${out_log} ---- + cat ${out_log} + done fi echo "::endgroup::" done diff --git a/.github/workflows/ubuntu-clang-full.yaml b/.github/workflows/ubuntu-clang-full.yaml index f1eab66dc2..87fbb7ea89 100644 --- a/.github/workflows/ubuntu-clang-full.yaml +++ b/.github/workflows/ubuntu-clang-full.yaml @@ -111,12 +111,18 @@ jobs: echo ---- Files ---- ls -Rl ${test_root}/${test} if [ -f ${test_root}/${test}/test-stderr*.log ]; then - echo ---- Content of test-stderr*.log ---- - cat ${test_root}/${test}/test-stderr*.log + err_logs=($(ls ${test_root}/${test}/test-stderr*.log)) + for err_log in "${err_logs[@]}"; do + echo ---- Content of ${err_log} ---- + cat ${err_log} + done fi if [ -f ${test_root}/${test}/test-stdout*.log ]; then - echo ---- Content of test-stdout*.log ---- - cat ${test_root}/${test}/test-stdout*.log + out_logs=($(ls ${test_root}/${test}/test-stdout*.log)) + for out_log in "${out_logs[@]}"; do + echo ---- Content of ${out_log} ---- + cat ${out_log} + done fi echo "::endgroup::" done diff --git a/.github/workflows/ubuntu-elmerice.yaml b/.github/workflows/ubuntu-elmerice.yaml index 148b8f6bc3..142886b709 100644 --- a/.github/workflows/ubuntu-elmerice.yaml +++ b/.github/workflows/ubuntu-elmerice.yaml @@ -115,12 +115,18 @@ jobs: echo ---- Files ---- ls -Rl ${test_root}/${test} if [ -f ${test_root}/${test}/test-stderr*.log ]; then - echo ---- Content of test-stderr*.log ---- - cat ${test_root}/${test}/test-stderr*.log + err_logs=($(ls ${test_root}/${test}/test-stderr*.log)) + for err_log in "${err_logs[@]}"; do + echo ---- Content of ${err_log} ---- + cat ${err_log} + done fi if [ -f ${test_root}/${test}/test-stdout*.log ]; then - echo ---- Content of test-stdout*.log ---- - cat ${test_root}/${test}/test-stdout*.log + out_logs=($(ls ${test_root}/${test}/test-stdout*.log)) + for out_log in "${out_logs[@]}"; do + echo ---- Content of ${out_log} ---- + cat ${out_log} + done fi echo "::endgroup::" done diff --git a/.github/workflows/ubuntu-gcc-full.yaml b/.github/workflows/ubuntu-gcc-full.yaml index a530583b62..62ee8932ff 100644 --- a/.github/workflows/ubuntu-gcc-full.yaml +++ b/.github/workflows/ubuntu-gcc-full.yaml @@ -111,12 +111,18 @@ jobs: echo ---- Files ---- ls -Rl ${test_root}/${test} if [ -f ${test_root}/${test}/test-stderr*.log ]; then - echo ---- Content of test-stderr*.log ---- - cat ${test_root}/${test}/test-stderr*.log + err_logs=($(ls ${test_root}/${test}/test-stderr*.log)) + for err_log in "${err_logs[@]}"; do + echo ---- Content of ${err_log} ---- + cat ${err_log} + done fi if [ -f ${test_root}/${test}/test-stdout*.log ]; then - echo ---- Content of test-stdout*.log ---- - cat ${test_root}/${test}/test-stdout*.log + out_logs=($(ls ${test_root}/${test}/test-stdout*.log)) + for out_log in "${out_logs[@]}"; do + echo ---- Content of ${out_log} ---- + cat ${out_log} + done fi echo "::endgroup::" done diff --git a/.github/workflows/ubuntu-parallel.yaml b/.github/workflows/ubuntu-parallel.yaml index 7d3a13df08..576b88e5c9 100644 --- a/.github/workflows/ubuntu-parallel.yaml +++ b/.github/workflows/ubuntu-parallel.yaml @@ -115,12 +115,18 @@ jobs: echo ---- Files ---- ls -Rl ${test_root}/${test} if [ -f ${test_root}/${test}/test-stderr*.log ]; then - echo ---- Content of test-stderr*.log ---- - cat ${test_root}/${test}/test-stderr*.log + err_logs=($(ls ${test_root}/${test}/test-stderr*.log)) + for err_log in "${err_logs[@]}"; do + echo ---- Content of ${err_log} ---- + cat ${err_log} + done fi if [ -f ${test_root}/${test}/test-stdout*.log ]; then - echo ---- Content of test-stdout*.log ---- - cat ${test_root}/${test}/test-stdout*.log + out_logs=($(ls ${test_root}/${test}/test-stdout*.log)) + for out_log in "${out_logs[@]}"; do + echo ---- Content of ${out_log} ---- + cat ${out_log} + done fi echo "::endgroup::" done