aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py4
1 files 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 = []