2018-10-23 16:34:50 +03:00
|
|
|
#
|
|
|
|
# Wercker is dedicated for testing MJIT. Please use Travis or AppVeyor for non-MJIT testing.
|
2018-10-24 13:29:39 +03:00
|
|
|
# This runs all Ruby tests with --jit, or --jit-wait which synchronously JITs all methods.
|
2018-10-23 16:34:50 +03:00
|
|
|
#
|
2018-10-23 18:54:11 +03:00
|
|
|
box: ruby:2.5-stretch
|
2018-10-23 03:19:53 +03:00
|
|
|
no-response-timeout: 30
|
|
|
|
command-timeout: 60
|
2018-10-23 19:23:55 +03:00
|
|
|
|
2018-11-01 07:43:40 +03:00
|
|
|
### Code to generate test-all definition with --jit-wait ###
|
2018-11-01 16:49:33 +03:00
|
|
|
# This aims to relax no-output timeout, and to isolate TracePoint testing since JIT is not supporting trace_* insns for now.
|
2018-11-01 07:43:40 +03:00
|
|
|
|
2018-11-01 16:49:33 +03:00
|
|
|
# allow_failures = []
|
2018-11-01 07:43:40 +03:00
|
|
|
# dirs = Dir.glob('test/*/').sort
|
2018-11-01 16:49:33 +03:00
|
|
|
# index = 1
|
|
|
|
# puts <<-EOS
|
|
|
|
# - script:
|
|
|
|
# name: make test-all#{index} -- others (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
# code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTOPTS="#{dirs.map { |d| "--exclude #{d}" }.join(' ')} --color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 16:49:33 +03:00
|
|
|
# EOS
|
2018-11-01 07:43:40 +03:00
|
|
|
# dirs.each do |dir|
|
2018-11-01 16:49:33 +03:00
|
|
|
# index += 1
|
2018-11-01 07:43:40 +03:00
|
|
|
# puts <<-EOS
|
|
|
|
# - script:
|
2018-11-01 08:17:08 +03:00
|
|
|
# name: make test-all#{index} -- #{dir} (JIT wait#{(', allow failure' if allow_failures.include?(dir))})
|
2018-11-16 09:52:12 +03:00
|
|
|
# code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="#{dir}" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"#{(' || true' if allow_failures.include?(dir))}
|
2018-11-01 07:43:40 +03:00
|
|
|
# EOS
|
|
|
|
# end
|
|
|
|
|
|
|
|
# --jit + first half of --jit-wait.
|
2018-11-01 08:03:59 +03:00
|
|
|
mjit-test1:
|
2018-10-23 19:23:55 +03:00
|
|
|
steps:
|
|
|
|
- install-packages:
|
|
|
|
packages: bison sudo
|
|
|
|
- script:
|
|
|
|
name: workaround ipv6 localhost
|
|
|
|
code: ruby -e "hosts = File.read('/etc/hosts').sub(/^::1\s*localhost.*$/, ''); File.write('/etc/hosts', hosts)"
|
|
|
|
- script:
|
|
|
|
name: create user # some file permission tests don't succeed with root.
|
|
|
|
code: useradd --shell /bin/bash --create-home test && chown -R test:test .
|
|
|
|
- script:
|
|
|
|
name: configure
|
|
|
|
code: /usr/bin/sudo -H -u test -- bash -c 'autoconf && ./configure --disable-install-doc --prefix=/tmp/ruby-prefix'
|
|
|
|
- script:
|
|
|
|
name: make all install
|
|
|
|
code: /usr/bin/sudo -H -u test -- make -j$(nproc) all install
|
2018-11-01 07:43:40 +03:00
|
|
|
|
|
|
|
# --jit
|
|
|
|
- script:
|
|
|
|
name: make test (JIT)
|
|
|
|
code: /usr/bin/sudo -H -u test -- make test RUN_OPTS="--disable-gems --jit --jit-warnings"
|
|
|
|
- script:
|
|
|
|
name: make test-spec (JIT)
|
|
|
|
code: /usr/bin/sudo -H -u test -- make test-spec RUN_OPTS="--disable-gems --jit --jit-warnings"
|
|
|
|
- script:
|
|
|
|
name: make test-all (JIT)
|
2018-11-18 12:32:29 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit --jit-warnings" TESTOPTS="-v --color=never --job-status=normal --longest 10 --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit"
|
2018-11-01 07:43:40 +03:00
|
|
|
|
|
|
|
# --jit-wait
|
2018-10-23 19:23:55 +03:00
|
|
|
- script:
|
2018-10-24 15:19:39 +03:00
|
|
|
name: make test (JIT wait)
|
|
|
|
code: /usr/bin/sudo -H -u test -- make test RUN_OPTS="--disable-gems --jit-wait --jit-warnings"
|
2018-11-01 07:43:40 +03:00
|
|
|
- script:
|
|
|
|
name: make test-spec (JIT wait)
|
|
|
|
code: /usr/bin/sudo -H -u test -- make test-spec RUN_OPTS="--disable-gems --jit-wait --jit-warnings"
|
2018-11-01 05:50:10 +03:00
|
|
|
|
2018-11-01 07:43:40 +03:00
|
|
|
# -- AUTO GENERATED 1st half START (by above code) ---
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all1 -- others (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTOPTS="--exclude test/-ext-/ --exclude test/base64/ --exclude test/benchmark/ --exclude test/bigdecimal/ --exclude test/cgi/ --exclude test/coverage/ --exclude test/csv/ --exclude test/date/ --exclude test/dbm/ --exclude test/digest/ --exclude test/drb/ --exclude test/dtrace/ --exclude test/erb/ --exclude test/etc/ --exclude test/excludes/ --exclude test/fiddle/ --exclude test/fileutils/ --exclude test/gdbm/ --exclude test/io/ --exclude test/irb/ --exclude test/json/ --exclude test/lib/ --exclude test/logger/ --exclude test/matrix/ --exclude test/minitest/ --exclude test/misc/ --exclude test/mkmf/ --exclude test/monitor/ --exclude test/net/ --exclude test/nkf/ --exclude test/objspace/ --exclude test/open-uri/ --exclude test/openssl/ --exclude test/optparse/ --exclude test/ostruct/ --exclude test/pathname/ --exclude test/psych/ --exclude test/rdoc/ --exclude test/readline/ --exclude test/resolv/ --exclude test/rexml/ --exclude test/rinda/ --exclude test/ripper/ --exclude test/rss/ --exclude test/ruby/ --exclude test/rubygems/ --exclude test/scanf/ --exclude test/sdbm/ --exclude test/shell/ --exclude test/socket/ --exclude test/stringio/ --exclude test/strscan/ --exclude test/syslog/ --exclude test/testunit/ --exclude test/uri/ --exclude test/webrick/ --exclude test/win32ole/ --exclude test/yaml/ --exclude test/zlib/ --color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 16:49:33 +03:00
|
|
|
- script:
|
|
|
|
name: make test-all2 -- test/-ext-/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/-ext-/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all3 -- test/base64/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/base64/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all4 -- test/benchmark/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/benchmark/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all5 -- test/bigdecimal/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/bigdecimal/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all6 -- test/cgi/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/cgi/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all7 -- test/coverage/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/coverage/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all8 -- test/csv/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/csv/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all9 -- test/date/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/date/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all10 -- test/dbm/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/dbm/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all11 -- test/digest/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/digest/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all12 -- test/drb/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/drb/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all13 -- test/dtrace/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/dtrace/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all14 -- test/erb/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/erb/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all15 -- test/etc/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/etc/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all16 -- test/excludes/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/excludes/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all17 -- test/fiddle/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/fiddle/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all18 -- test/fileutils/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/fileutils/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all19 -- test/gdbm/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/gdbm/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all20 -- test/io/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/io/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all21 -- test/irb/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/irb/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all22 -- test/json/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/json/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all23 -- test/lib/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/lib/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all24 -- test/logger/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/logger/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all25 -- test/matrix/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/matrix/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all26 -- test/minitest/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/minitest/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all27 -- test/misc/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/misc/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all28 -- test/mkmf/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/mkmf/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all29 -- test/monitor/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/monitor/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all30 -- test/net/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/net/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-10-24 12:52:01 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all31 -- test/nkf/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/nkf/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-10-23 19:23:55 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all32 -- test/objspace/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/objspace/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all33 -- test/open-uri/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/open-uri/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all34 -- test/openssl/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/openssl/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all35 -- test/optparse/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/optparse/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all36 -- test/ostruct/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/ostruct/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all37 -- test/pathname/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/pathname/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all38 -- test/psych/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/psych/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 09:03:29 +03:00
|
|
|
# -- AUTO GENERATED 1st half END ---
|
|
|
|
after-steps:
|
|
|
|
- wantedly/pretty-slack-notify:
|
|
|
|
webhook_url: $SLACK_WEBHOOK_URL
|
2018-11-03 03:44:04 +03:00
|
|
|
username: Wercker mjit-test1
|
2018-11-01 09:03:29 +03:00
|
|
|
channel: alerts
|
|
|
|
notify_on: "failed"
|
|
|
|
branches: ^trunk$
|
|
|
|
|
|
|
|
# second half of --jit-wait.
|
|
|
|
mjit-test2:
|
|
|
|
steps:
|
|
|
|
- install-packages:
|
|
|
|
packages: bison sudo
|
|
|
|
- script:
|
|
|
|
name: workaround ipv6 localhost
|
|
|
|
code: ruby -e "hosts = File.read('/etc/hosts').sub(/^::1\s*localhost.*$/, ''); File.write('/etc/hosts', hosts)"
|
|
|
|
- script:
|
|
|
|
name: create user # some file permission tests don't succeed with root.
|
|
|
|
code: useradd --shell /bin/bash --create-home test && chown -R test:test .
|
|
|
|
- script:
|
|
|
|
name: configure
|
|
|
|
code: /usr/bin/sudo -H -u test -- bash -c 'autoconf && ./configure --disable-install-doc --prefix=/tmp/ruby-prefix'
|
|
|
|
- script:
|
|
|
|
name: make all install
|
|
|
|
code: /usr/bin/sudo -H -u test -- make -j$(nproc) all install
|
|
|
|
|
|
|
|
# -- AUTO GENERATED 2nd half START (by above code) ---
|
2018-11-01 10:49:06 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all39 -- test/rdoc/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/rdoc/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 10:49:06 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all40 -- test/readline/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/readline/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 10:49:06 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all41 -- test/resolv/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/resolv/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all42 -- test/rexml/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/rexml/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all43 -- test/rinda/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/rinda/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all44 -- test/ripper/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/ripper/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all45 -- test/rss/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/rss/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all46 -- test/ruby/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/ruby/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all47 -- test/rubygems/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/rubygems/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all48 -- test/scanf/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/scanf/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all49 -- test/sdbm/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/sdbm/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all50 -- test/shell/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/shell/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all51 -- test/socket/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/socket/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all52 -- test/stringio/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/stringio/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all53 -- test/strscan/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/strscan/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all54 -- test/syslog/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/syslog/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all55 -- test/testunit/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/testunit/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all56 -- test/uri/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/uri/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all57 -- test/webrick/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/webrick/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all58 -- test/win32ole/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/win32ole/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all59 -- test/yaml/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/yaml/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 05:50:10 +03:00
|
|
|
- script:
|
2018-11-01 16:49:33 +03:00
|
|
|
name: make test-all60 -- test/zlib/ (JIT wait)
|
2018-11-16 09:52:12 +03:00
|
|
|
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-wait --jit-warnings" TESTS="test/zlib/" TESTOPTS="--color=never --job-status=normal --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit-wait"
|
2018-11-01 07:43:40 +03:00
|
|
|
# -- AUTO GENERATED 2nd half END ---
|
2018-10-23 03:19:53 +03:00
|
|
|
after-steps:
|
|
|
|
- wantedly/pretty-slack-notify:
|
|
|
|
webhook_url: $SLACK_WEBHOOK_URL
|
2018-11-03 03:44:04 +03:00
|
|
|
username: Wercker mjit-test2
|
2018-10-23 03:19:53 +03:00
|
|
|
channel: alerts
|
|
|
|
notify_on: "failed"
|
|
|
|
branches: ^trunk$
|