aboutsummaryrefslogtreecommitdiffstats
path: root/script/spec-all-pairs
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-02-02 12:30:36 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-02-02 12:30:36 +0000
commit53d249b2c500dae07e934c0009d0813181092702 (patch)
tree7797047ccfa54e5ac05fb8689821ab80694dd225 /script/spec-all-pairs
parentcd77da0c7ea166b8cdd9ecc5a8d2055515027ad8 (diff)
parent2eac4bef8d73f47bbe579b6f787ef54b8d782d7a (diff)
Merge branch 'release/0.5' of github.com:sebbacon/alaveteli into release/0.5
Diffstat (limited to 'script/spec-all-pairs')
-rwxr-xr-xscript/spec-all-pairs7
1 files changed, 3 insertions, 4 deletions
diff --git a/script/spec-all-pairs b/script/spec-all-pairs
index 338f56147..e8fa77be9 100755
--- a/script/spec-all-pairs
+++ b/script/spec-all-pairs
@@ -4,8 +4,7 @@
# to winkle out order-dependent failures.
test_pair () {
- rake db:test:purge > /dev/null
- rake db:test:clone_structure > /dev/null
+ rake db:test:prepare > /dev/null 2>&1
if script/spec "$1" "$2" > /dev/null 2>&1
then
echo "OK: $1 $2"
@@ -40,8 +39,8 @@ pairs_from_stdin() {
while read line
do
case "$line" in
- \*\ FAILED:\ *)
- spec/*.rb spec/$.rb)
+ \*\ FAILED:\ *|\
+ spec/*.rb\ spec/*.rb)
line=${line#\* FAILED: }
if ! test_pair $line
then