aboutsummaryrefslogtreecommitdiff
path: root/run_cross_test.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-04-06 08:00:59 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-04-09 23:11:05 +0530
commit7e4a67c7906ef736870650031f332a17be6673e6 (patch)
treeee03260975c419cae9d21b1437069966a85232f5 /run_cross_test.py
parent388e5a63dcfa855f662c247a0e81a1b2cd0946dd (diff)
downloadmeson-7e4a67c7906ef736870650031f332a17be6673e6.zip
meson-7e4a67c7906ef736870650031f332a17be6673e6.tar.gz
meson-7e4a67c7906ef736870650031f332a17be6673e6.tar.bz2
run_project_tests: Clean on backends that can't install
Also sets more groundwork for running unit tests with backends other that Ninja. Transferring global state to executors is totally broken in Python 3.4 so just serialize all the commands.
Diffstat (limited to 'run_cross_test.py')
-rwxr-xr-xrun_cross_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/run_cross_test.py b/run_cross_test.py
index c7895bb..e285e21 100755
--- a/run_cross_test.py
+++ b/run_cross_test.py
@@ -43,7 +43,6 @@ def runtests(cross_file):
sys.exit(failing_tests)
if __name__ == '__main__':
- backend = 'ninja'
- setup_commands()
+ setup_commands('ninja')
cross_file = sys.argv[1]
runtests(cross_file)