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

ruby-changes:58265

From: Takashi <ko1@a...>
Date: Wed, 16 Oct 2019 13:37:58 +0900 (JST)
Subject: [ruby-changes:58265] 2679e10942 (master): Test without --jit-debug by default

https://git.ruby-lang.org/ruby.git/commit/?id=2679e10942

From 2679e10942c8cebc11423cac8303bea7b4c1522a Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Tue, 15 Oct 2019 21:37:00 -0700
Subject: Test without --jit-debug by default

and let RUBY_DEBUG=1 job test it.

We usually don't use --jit-debug and we should test no --jit-debug by
default.

diff --git a/.travis.yml b/.travis.yml
index 65f2dec..c1e4145 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -59,6 +59,10 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L59
   - &make-test-only
     script:
       - $SETARCH make -s test TESTOPTS="${TESTOPTS=$JOBS -q --tty=no}"
+      - |- # allow extra test-all if specified
+        if [ -n $TEST_ALL_TESTS ]; then
+          $SETARCH make -s test-all -o exts TESTOPTS="${TESTOPTS} ${TEST_ALL_OPTS}" TESTS="$TEST_ALL_TESTS" RUBYOPT="-w"
+        fi
 
   - &gcc-8
     compiler: gcc-8
@@ -122,15 +126,11 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L126
   - &x86_64-linux
     name: x86_64-linux
     <<: *gcc-8
-    env:
-      - TEST_MJIT_SYMBOLS=1 # detect exports missing for MJIT
 
   - &arm64-linux
     name: arm64-linux
     arch: arm64
     <<: *gcc-8
-    env:
-      - TEST_MJIT_SYMBOLS=1
 
   - &jemalloc
     name: --with-jemalloc
@@ -146,6 +146,8 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L146
     <<: *make-test-only
     env:
       - GEMS_FOR_TEST=
+      - TEST_MJIT_SYMBOLS=1
+      - TEST_ALL_TESTS=test/ruby/test_jit.rb
       - cppflags='-DRUBY_DEBUG -DVM_CHECK_MODE=1 -DTRANSIENT_HEAP_CHECK_MODE -DRGENGC_CHECK_MODE -DENC_DEBUG'
 
   - &VM_CHECK_MODE
-- 
cgit v0.10.2


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

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