blob: 36919d7aba54d1bd03ad0c221f191375020b9137 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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 2.3,2.6,jruby-9.2 "do" ./run-tests.sh
else
GEM_PATH=$(bundle exec ruby -e "puts ENV['GEM_HOME']")
CONSOLE_OUTPUT=$(rake test:all 2>&1)
echo "$CONSOLE_OUTPUT"
fi
|