This commit is contained in:
Thomas Levine 2012-10-04 12:43:49 -04:00
parent d0d4593ce8
commit 3368947b3b
1 changed files with 7 additions and 3 deletions

10
urchin
View File

@ -1,8 +1,5 @@
#!/bin/sh
count_errors=0
count_passing=0
recurse() {
potential_test="$1"
if [ -d "$potential_test" ]
@ -27,3 +24,10 @@ recurse() {
fi
fi
}
if [ -d tests ]
then
recurse tests
else
echo 'No tests directory' && exit 1
fi