From 4295b3dded510affe75f7fe6b56f4747385b864c Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 21 Apr 2011 15:12:53 -0700 Subject: Allow disabling of shell scripts without changing eclipse configuration --- test.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'test.sh') diff --git a/test.sh b/test.sh index d339897f..922981c7 100755 --- a/test.sh +++ b/test.sh @@ -1,8 +1,5 @@ #!/bin/bash -tests=$1 -if [[ $tests = "" ]]; then - tests="all" +if [ ! -e test.dissable ]; then + java -jar lib/jstestdriver/JsTestDriver.jar --tests all $@ + #java -jar lib/jstestdriver/JsTestDriver.jar --tests all --config jsTestDriver-jquery.conf $@ fi - -java -jar lib/jstestdriver/JsTestDriver.jar --tests "$tests" -#java -jar lib/jstestdriver/JsTestDriver.jar --tests "$tests" --config jsTestDriver-jquery.conf -- cgit v1.2.3