From 3368947b3bf5f483ff03d1a95f97ab4775187c11 Mon Sep 17 00:00:00 2001 From: Thomas Levine Date: Thu, 4 Oct 2012 12:43:49 -0400 Subject: [PATCH] main --- urchin | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/urchin b/urchin index 5449269..ebb5b0d 100755 --- a/urchin +++ b/urchin @@ -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