1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Takashi Kokubun 2019-05-08 16:25:25 +09:00
parent d736080c8b
commit 60869ebd00
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -23,6 +23,21 @@ mjit-test1:
- script:
name: make all install
code: /usr/bin/sudo -H -u test -- make -j$(nproc) all install
- script:
name: install mjit-debug-on-fail
code: |
cat <<'EOS' > /usr/local/bin/mjit-debug-on-fail
#!/bin/bash
if ! $@; then
for f in $(find /tmp -type f -name "ruby_mjit*.c"); do
echo "[${f}]==="
cat "$f"
echo "==="
echo
done
exit 1
fi
EOS
# --jit
- script:
@ -33,7 +48,7 @@ mjit-test1:
code: /usr/bin/sudo -H -u test -- make test-spec RUN_OPTS="--disable-gems --jit --jit-warnings"
- script:
name: make test-all (JIT)
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"
code: /usr/local/bin/mjit-debug-on-fail /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit-verbose=1 --jit-save-temps --jit-warnings" TESTOPTS="-v --color=never --job-status=normal --longest 10 --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/jit"
# --jit-wait (test, test-spec)
- script: