aboutsummaryrefslogtreecommitdiffstats
path: root/script/spec-all-pairs
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-01-29 16:20:48 +0000
committerRobin Houston <robin.houston@gmail.com>2012-01-29 16:20:48 +0000
commitcc3b87f5367679ba9f68e88f02ec16fa9172bb0a (patch)
treeee0af42164370fe6edff34979d271d1cd36333c6 /script/spec-all-pairs
parentc61827cb60831b83e9516d2ac79ff514b5e1bf42 (diff)
More flexible input syntax
Accept test pairs on stdin even if they are not prefixed with the string "* FAILED: ".
Diffstat (limited to 'script/spec-all-pairs')
-rwxr-xr-xscript/spec-all-pairs3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/spec-all-pairs b/script/spec-all-pairs
index 6f27e6b8e..338f56147 100755
--- a/script/spec-all-pairs
+++ b/script/spec-all-pairs
@@ -41,6 +41,7 @@ pairs_from_stdin() {
do
case "$line" in
\*\ FAILED:\ *)
+ spec/*.rb spec/$.rb)
line=${line#\* FAILED: }
if ! test_pair $line
then
@@ -63,4 +64,4 @@ then
else
all_pairs
fi
-exit $? \ No newline at end of file
+exit $?