blob: 3dfcb1c7d7b5a201f860e41f1085a1c16abfe098 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
# A convenience script to run tests without delays caused by incrementally writing to the terminal buffer.
# This script will execute against all supported Ruby versions if "all" is the first argument to the script.
if [ "$1" == "all" ]; then
rvm 1.8@asciidoctor-dev,jruby@asciidoctor-dev,rbx@asciidoctor-dev,1.9@asciidoctor-dev,2.0@asciidoctor-dev,2.1@asciidoctor-dev "do" ./run-tests.sh
else
rake > /tmp/asciidoctor-test-results.txt 2>&1; cat /tmp/asciidoctor-test-results.txt
fi
|