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

ruby-changes:54273

From: k0kubun <ko1@a...>
Date: Sat, 22 Dec 2018 00:07:23 +0900 (JST)
Subject: [ruby-changes:54273] k0kubun:r66482 (trunk): .travis.yml: avoid using -j3 for osx

k0kubun	2018-12-22 00:07:18 +0900 (Sat, 22 Dec 2018)

  New Revision: 66482

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66482

  Log:
    .travis.yml: avoid using -j3 for osx
    
    osx build has failed too often. we don't know why.
    
    To know which test hangs forever, we might want to have hard timeout for
    all test case (like 9min, slightly less than no-output timeout) in test-all.
    But it's a little hard to implement and I would workaround an unknown
    cause somehow.
    
    It's known that -j is harmful for some tests in test-all. Let's try to
    remove it first, and if it doesn't work, I'll resurrect -v option to
    easily know which test is the culprit.
    
    Slow correctness is much better than fast false-positive.

  Modified files:
    trunk/.travis.yml
Index: .travis.yml
===================================================================
--- .travis.yml	(revision 66481)
+++ .travis.yml	(revision 66482)
@@ -279,7 +279,8 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L279
     <<: *osx
     env:
       - CONFIG_FLAG=--with-opt-dir=/usr/local/opt/openssl@1...:/usr/local/opt/zlib
-      - TEST_ALL_OPTS="$JOBS -q --tty=no --excludes=\$(TESTSDIR)/excludes/_travis/osx"
+      # Not using $JOBS which might be harmful for some tests because osx build often hangs for unknown reasons.
+      - TEST_ALL_OPTS="-q --tty=no --excludes=\$(TESTSDIR)/excludes/_travis/osx"
 
   - &universal-darwin17
     name: uinversal.x86_64h-darwin17

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

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