aboutsummaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-01-22 20:49:23 +0000
committerRobin Houston <robin.houston@gmail.com>2012-01-22 20:49:23 +0000
commit6e7aed1b6495853ff324c3a97feed69d26d32754 (patch)
tree50f79c364fcd38e0359694ec12a161d9d8e61ca1 /script
parentf0de13759f9d654849bb076673c5aad7dffba523 (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-xscript/spec-all-pairs11
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