[前][次][番号順一覧][スレッド一覧]

ruby-changes:68344

From: Nobuyoshi <ko1@a...>
Date: Sun, 10 Oct 2021 11:16:53 +0900 (JST)
Subject: [ruby-changes:68344] 3817d1823c (master): Remove `RUN_SEPARATED_TESTS` which seems unnecessary

https://git.ruby-lang.org/ruby.git/commit/?id=3817d1823c

From 3817d1823c9a0f729a8a796afa46314b9385a1d8 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 10 Oct 2021 10:14:31 +0900
Subject: Remove `RUN_SEPARATED_TESTS` which seems unnecessary

---
 .travis.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 9732123e4d..bee7959953 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,8 +42,6 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L42
     - SETARCH=
     - RUBY_PREFIX=/tmp/ruby-prefix
     - GEMS_FOR_TEST='timezone tzinfo'
-    # Run the separated tests with allowing failures.
-    - RUN_SEPARATED_TESTS=true
     # https://github.com/travis-ci/travis-build/blob/e411371dda21430a60f61b8f3f57943d2fe4d344/lib/travis/build/bash/travis_apt_get_options.bash#L7
     - travis_apt_get_options='--allow-downgrades --allow-remove-essential --allow-change-held-packages'
     - travis_apt_get_options="-yq --no-install-suggests --no-install-recommends $travis_apt_get_options"
@@ -199,7 +197,7 @@ script: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L197
   # Run the failing tests separately returning ok status to check if it works,
   # visualize them.
   - |
-    if [ "${RUN_SEPARATED_TESTS}" = true -a -n "${TEST_ALL_OPTS_SEPARATED}" ]; then
+    if [ -n "${TEST_ALL_OPTS_SEPARATED}" ]; then
       $SETARCH make -s test-all -o exts TESTOPTS="$JOBS -v --tty=no ${TEST_ALL_OPTS_SEPARATED}" RUBYOPT="-w" || :
     fi
   - $SETARCH make -s test-spec MSPECOPT=-ff # not using `-j` because sometimes `mspec -j` silently dies
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]