ruby-changes:69643
From: Nobuyoshi <ko1@a...>
Date: Mon, 8 Nov 2021 18:53:00 +0900 (JST)
Subject: [ruby-changes:69643] 395738e8a5 (master): Separate TestReadline#test_interrupt_in_other_thread
https://git.ruby-lang.org/ruby.git/commit/?id=395738e8a5 From 395738e8a5a14d432d17a9fe106f62f54a81c7aa Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 8 Nov 2021 18:05:15 +0900 Subject: Separate TestReadline#test_interrupt_in_other_thread This method is already known to fail on Travis-CI arm32-linux. --- .github/workflows/ubuntu.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 0c41af302e9..cbd228ca437 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -24,6 +24,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L24 - test_task: "check" os: ubuntu-20.04 configure: "--host=i686-$OSTYPE" + skipped_tests: TestReadline#test_interrupt_in_other_thread - test_task: "test-all TESTS=--repeat-count=2" os: ubuntu-20.04 configure: "" @@ -84,7 +85,17 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L85 run: | $SETARCH ./miniruby -e '(("a".."z").to_a+("A".."Z").to_a+("0".."9").to_a+%w[foo bar test zzz]).each{|basename|File.write("#{basename}.rb", "raise %(do not load #{basename}.rb)")}' if: ${{ matrix.test_task == 'check' }} - - run: $SETARCH make -s ${{ matrix.test_task }} + - name: make ${{ matrix.test_task }} + run: | + if [ ${{ matrix.test_task }} = 'check' ]; then + TESTS=`echo "${{ matrix.skipped_tests }}" | sed 's| |$/ -n!/|g;s|^|-n!/|;s|$|$/|'` + fi + $SETARCH make -s ${{ matrix.test_task }} ${TESTS:+TESTS="$TESTS"} + if [ ${{ matrix.test_task }} = 'check' -a "${TESTS:+set}" ]; then + TESTS=`echo "${{ matrix.skipped_tests }}" | sed 's| |$/ -n/|g;s|^|-n/|;s|$|$/|'` + unset GNUMAKEFLAGS + $SETARCH make -s test-all TESTS="$TESTS" + fi timeout-minutes: 40 env: RUBY_TESTOPTS: "-q --tty=no" -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/