diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-22 20:49:23 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-22 20:49:23 +0000 |
commit | 6e7aed1b6495853ff324c3a97feed69d26d32754 (patch) | |
tree | 50f79c364fcd38e0359694ec12a161d9d8e61ca1 /script | |
parent | f0de13759f9d654849bb076673c5aad7dffba523 (diff) |
Tweaks to spec-all-pairs
1. Suppress irrelevant output;
2. Check that running the same spec twice doesn’t cause failures either.
Diffstat (limited to 'script')
-rwxr-xr-x | script/spec-all-pairs | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/script/spec-all-pairs b/script/spec-all-pairs index 14e1803ba..aab782c8d 100755 --- a/script/spec-all-pairs +++ b/script/spec-all-pairs @@ -10,14 +10,11 @@ do seen=false for spec2 in $specs do - if [ "$spec1" != "$spec2" ] + rake db:test:purge > /dev/null + rake db:test:clone_structure > /dev/null + if ! ( script/spec "$spec1" "$spec2" ) > /dev/null then - rake db:test:purge - rake db:test:clone_structure - if ! ( script/spec "$spec1" "$spec2" ) > /dev/null - then - echo "FAILED: $spec1 $spec2" - fi + echo "FAILED: $spec1 $spec2" fi done done |