aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-02-10 15:51:35 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-02-10 15:51:35 +0200
commit84d6e85d373d4a40bd9258bbf614436caa6ef2eb (patch)
treeb9a1d58e2873fce9c3ef0ddc72ad0dcbc8df9dfc
parentc3b599167f9dcf8b8b6e493c8e51ebaacf6b9802 (diff)
downloadmeson-84d6e85d373d4a40bd9258bbf614436caa6ef2eb.zip
meson-84d6e85d373d4a40bd9258bbf614436caa6ef2eb.tar.gz
meson-84d6e85d373d4a40bd9258bbf614436caa6ef2eb.tar.bz2
Test kludge.
-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 = []