blob: 339b37093ad6ec5fa9a4196d83d4373930d0833d (
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
|