aboutsummaryrefslogtreecommitdiffstats
path: root/script/spec-all-pairs
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-02-01 22:04:40 +0000
committerRobin Houston <robin.houston@gmail.com>2012-02-01 22:04:40 +0000
commita76010c99459559a29901ed75b847384248c7c6e (patch)
treef199e3f4187091a7a7c78f7fd6901529658174f7 /script/spec-all-pairs
parent9f9befeba613deff85c2325f629e77099d44af6f (diff)
parent18c9436ba00574d44dc258a2f231d4758b378eae (diff)
Merge branch 'wdtk' into release/0.5
Conflicts: locale/app.pot
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