aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-02-24 00:20:39 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-02-24 00:20:39 +0200
commit7371ad676edd6711fd5dcff7b8de037c46763626 (patch)
treeb7c527b420cef26a7dbd6be1ecfd22c619771696 /run_tests.py
parent7abe15a7baf6065b10a121b10f6d9edda6ed8280 (diff)
downloadmeson-7371ad676edd6711fd5dcff7b8de037c46763626.zip
meson-7371ad676edd6711fd5dcff7b8de037c46763626.tar.gz
meson-7371ad676edd6711fd5dcff7b8de037c46763626.tar.bz2
Renamed generator command line option to backend.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/run_tests.py b/run_tests.py
index 9343655..802acc9 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -22,12 +22,12 @@ install_dir = os.path.join(os.path.split(os.path.abspath(__file__))[0], 'install
use_shell = len(sys.argv) > 1
meson_command = './meson.py'
if use_shell:
- generator_flags = ['--generator', 'shell']
+ backend_flags = ['--backend', 'shell']
compile_commands = ['compile.sh']
test_commands = ['run_tests.sh']
install_commands = ['install.sh']
else:
- generator_flags = []
+ backend_flags = []
compile_commands = ['ninja']
test_commands = ['ninja', 'test']
install_commands = ['ninja', 'install']
@@ -38,7 +38,7 @@ def run_test(testdir):
os.mkdir(test_build_dir)
os.mkdir(install_dir)
print('Running test: ' + testdir)
- gen_command = [meson_command, '--prefix', install_dir, testdir, test_build_dir] + generator_flags
+ gen_command = [meson_command, '--prefix', install_dir, testdir, test_build_dir] + backend_flags
p = subprocess.Popen(gen_command)
p.wait()
if p.returncode != 0: