From 84d6e85d373d4a40bd9258bbf614436caa6ef2eb Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 10 Feb 2013 15:51:35 +0200 Subject: Test kludge. --- run_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_tests.py b/run_tests.py index 6b9cb4c..eb44bd9 100755 --- a/run_tests.py +++ b/run_tests.py @@ -15,11 +15,11 @@ # limitations under the License. from glob import glob -import os, subprocess, shutil +import os, subprocess, shutil, sys test_build_dir = 'work area' install_dir = os.path.join(os.path.split(os.path.abspath(__file__))[0], 'install dir') -use_shell = True +use_shell = len(sys.argv) == 1 builder_command = './builder.py' if use_shell: generator_flags = [] -- cgit v1.1