Mercurial > octave
changeset 32556:d1b5f4055c83
maint: Merge stable to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 08 Dec 2023 17:26:23 +0100 |
parents | 5dea9272ad7f (current diff) d6fdce5c7978 (diff) |
children | 888681e1dac1 6d9fbe079717 |
files | .github/workflows/make.yaml |
diffstat | 1 files changed, 0 insertions(+), 105 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/make.yaml Fri Dec 08 09:14:35 2023 -0500 +++ b/.github/workflows/make.yaml Fri Dec 08 17:26:23 2023 +0100 @@ -148,37 +148,11 @@ timeout-minutes: 5 run: cat ./.build/test/fntests.log - - name: check with VM - timeout-minutes: 60 - run: | - mv ./.build/test/fntests.log ./.build/test/fntests-no-vm.log - XDG_RUNTIME_DIR=$RUNNER_TEMP xvfb-run -a make -C ./.build check-vm | tee ./test-suite-vm.log - - - name: display test suite log with VM - continue-on-error: true - # Displaying the log shouldn't take long. Cancel the step if it does. - timeout-minutes: 5 - run: cat ./.build/test/fntests.log - - - name: difference between logs with and without VM - continue-on-error: true - run: | - echo "::group::diff test-suite.log" - echo "diff -urN ./test-suite.log ./test-suite-vm.log" - diff -urN ./test-suite.log ./test-suite-vm.log || true - echo "::endgroup::" - echo "::group::diff fntests.log" - echo "diff -urN ./.build/test/fntests-no-vm.log ./.build/test/fntests.log" - diff -urN ./.build/test/fntests-no-vm.log ./.build/test/fntests.log || true - echo "::endgroup::" - - name: analyze test suite results # Make sure the test summary lists 0 "FAIL"s and no "REGRESSION" run: | [ -n "$(grep -e "FAIL\s*0" ./test-suite.log)" ] || exit 1 [ -z "$(grep -e "REGRESSION" ./test-suite.log)" ] || exit 1 - [ -n "$(grep -e "FAIL\s*0" ./test-suite-vm.log)" ] || exit 1 - [ -z "$(grep -e "REGRESSION" ./test-suite-vm.log)" ] || exit 1 echo No unknown failing tests. - name: test history file creation @@ -584,37 +558,11 @@ timeout-minutes: 5 run: cat ./.build/test/fntests.log - - name: check with VM - timeout-minutes: 60 - run: | - mv ./.build/test/fntests.log ./.build/test/fntests-no-vm.log - make -C ./.build check-vm | tee ./test-suite-vm.log - - - name: display test suite log with VM - continue-on-error: true - # Displaying the log shouldn't take long. Cancel the step if it does. - timeout-minutes: 5 - run: cat ./.build/test/fntests.log - - - name: difference between logs with and without VM - continue-on-error: true - run: | - echo "::group::diff test-suite.log" - echo "diff -urN ./test-suite.log ./test-suite-vm.log" - diff -urN ./test-suite.log ./test-suite-vm.log || true - echo "::endgroup::" - echo "::group::diff fntests.log" - echo "diff -urN ./.build/test/fntests-no-vm.log ./.build/test/fntests.log" - diff -urN ./.build/test/fntests-no-vm.log ./.build/test/fntests.log || true - echo "::endgroup::" - - name: analyze test suite results # Make sure the test summary lists 0 "FAIL"s and no "REGRESSION" run: | [ -n "$(grep -e "FAIL\s*0" ./test-suite.log)" ] || exit 1 [ -z "$(grep -e "REGRESSION" ./test-suite.log)" ] || exit 1 - [ -n "$(grep -e "FAIL\s*0" ./test-suite-vm.log)" ] || exit 1 - [ -z "$(grep -e "REGRESSION" ./test-suite-vm.log)" ] || exit 1 echo No unknown failing tests. - name: test history file creation @@ -848,37 +796,11 @@ timeout-minutes: 5 run: cat ./.build/test/fntests.log - - name: check with VM - timeout-minutes: 60 - run: | - mv ./.build/test/fntests.log ./.build/test/fntests-no-vm.log - make -C ./.build check-vm RUN_OCTAVE_OPTIONS="--no-gui-libs" | tee ./test-suite-vm.log - - - name: display test suite log with VM - continue-on-error: true - # Displaying the log shouldn't take long. Cancel the step if it does. - timeout-minutes: 5 - run: cat ./.build/test/fntests.log - - - name: difference between logs with and without VM - continue-on-error: true - run: | - echo "::group::diff test-suite.log" - echo "diff -urN ./test-suite.log ./test-suite-vm.log" - diff -urN ./test-suite.log ./test-suite-vm.log || true - echo "::endgroup::" - echo "::group::diff fntests.log" - echo "diff -urN ./.build/test/fntests-no-vm.log ./.build/test/fntests.log" - diff -urN ./.build/test/fntests-no-vm.log ./.build/test/fntests.log || true - echo "::endgroup::" - - name: analyze test suite results # Make sure the test summary lists 0 "FAIL"s and no "REGRESSION" run: | [ -n "$(grep -e "FAIL\s*0" ./test-suite.log)" ] || echo "::warning::At least one test failed" [ -z "$(grep -e "REGRESSION" ./test-suite.log)" ] || echo "::warning::At least one regression in test suite" - [ -n "$(grep -e "FAIL\s*0" ./test-suite-vm.log)" ] || echo "::warning::At least one test failed with VM" - [ -z "$(grep -e "REGRESSION" ./test-suite-vm.log)" ] || echo "::warning::At least one regression in test suite with VM" echo Finished analyzing test suite results. - name: test history file creation @@ -1125,38 +1047,11 @@ timeout-minutes: 5 run: cat ./.build/test/fntests.log - - name: check with VM - timeout-minutes: 60 - run: | - mv ./.build/test/fntests.log ./.build/test/fntests-no-vm.log - export PATH=$(echo "$PATH" | sed -e "s|/usr/lib/ccache/bin:||g") - EGREP="grep -E" make -C ./.build check-vm | tee ./test-suite-vm.log - - - name: display test suite log with VM - continue-on-error: true - # Displaying the log shouldn't take long. Cancel the step if it does. - timeout-minutes: 5 - run: cat ./.build/test/fntests.log - - - name: difference between logs with and without VM - continue-on-error: true - run: | - echo "::group::diff test-suite.log" - echo "diff -urN ./test-suite.log ./test-suite-vm.log" - diff -urN ./test-suite.log ./test-suite-vm.log || true - echo "::endgroup::" - echo "::group::diff fntests.log" - echo "diff -urN ./.build/test/fntests-no-vm.log ./.build/test/fntests.log" - diff -urN ./.build/test/fntests-no-vm.log ./.build/test/fntests.log || true - echo "::endgroup::" - - name: analyze test suite results # Make sure the test summary lists 0 "FAIL"s and no "REGRESSION" run: | [ -n "$(grep -e "FAIL\s*0" ./test-suite.log)" ] || echo "::warning::At least one test failed" [ -z "$(grep -e "REGRESSION" ./test-suite.log)" ] || echo "::warning::At least one regression in test suite" - [ -n "$(grep -e "FAIL\s*0" ./test-suite-vm.log)" ] || echo "::warning::At least one test failed with VM" - [ -z "$(grep -e "REGRESSION" ./test-suite-vm.log)" ] || echo "::warning::At least one regression in test suite with VM" echo Finished analyzing test suite results. - name: test history file creation