From 68c8f2ba174a5052a5681bb55f4e21cf5f0febbf Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Fri, 15 Oct 2010 15:25:29 +0900 Subject: make run_tests.sh's default perform as expected --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index ec727d094..6a2b15b8f 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -55,7 +55,7 @@ else else echo -e "No virtual environment found...create one? (Y/n) \c" read use_ve - if [ "x$use_ve" = "xY" ]; then + if [ "x$use_ve" = "xY" -o "x$use_ve" = "x" ]; then # Install the virtualenv and run the test suite in it python tools/install_venv.py else -- cgit From e80e91bd653d16b069d82cb26990718daf38d0c2 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Fri, 15 Oct 2010 16:06:12 +0900 Subject: Also accept 'y' --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 6a2b15b8f..a11dcd7cc 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -55,7 +55,7 @@ else else echo -e "No virtual environment found...create one? (Y/n) \c" read use_ve - if [ "x$use_ve" = "xY" -o "x$use_ve" = "x" ]; then + if [ "x$use_ve" = "xY" -o "x$use_ve" = "x" -o "x$use_ve" = "xy" ]; then # Install the virtualenv and run the test suite in it python tools/install_venv.py else -- cgit