Files
boxen/script/tests
John Barnette 3daa0f1ff1 Initial commit
2012-10-01 16:05:22 -07:00

11 lines
246 B
Bash
Executable File

#!/bin/sh
# Run the unit tests.
cd "$(dirname $0)"/..
script/bootstrap &&
ruby -rubygems -Ilib:test \
-e 'require "bundler/setup"' \
-e 'tests = ARGV.empty? ? Dir["test/**/*_test.rb"] : ARGV' \
-e 'tests.each { |f| load f }' "$@"