aboutsummaryrefslogtreecommitdiffstats
path: root/wercker.yml
diff options
context:
space:
mode:
Diffstat (limited to 'wercker.yml')
-rw-r--r--wercker.yml17
1 files changed, 16 insertions, 1 deletions
diff --git a/wercker.yml b/wercker.yml
index 08e28448c8..bfd13112c0 100644
--- a/wercker.yml
+++ b/wercker.yml
@@ -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: