Created
August 2, 2012 23:01
-
-
Save isao/3241694 to your computer and use it in GitHub Desktop.
run all tests from cwd, show only results
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# usage: $0 [optional arrow args] | |
# run all arrow tests from cwd and just display the results | |
err() { | |
echo "error: $2"; exit $1 | |
} | |
which pgrep arrow >/dev/null || err 1 "missing executable(s)" | |
pgrep -f arrow_server >/dev/null || err 3 'arrow_server not running' | |
pgrep -f selenium >/dev/null || err 5 'selenium not running' | |
opts="--driver=selenium --reuseSession=true --logLevel=WARN $@" | |
find . -name '*descriptor.json' | xargs -t arrow $opts | egrep '^ |..32m[0-9]+' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment