diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-01-07 16:40:50 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-02-04 14:42:55 -0800 |
commit | 097faee83b73ed88325f70396808bc6fbbd17739 (patch) | |
tree | 197f56aa3d9cdea54fecf073147f6e144e6ed903 /run_project_tests.py | |
parent | 30cf4f9c3a534b5fb944241b8ccf84f0b490c8f5 (diff) | |
download | meson-097faee83b73ed88325f70396808bc6fbbd17739.zip meson-097faee83b73ed88325f70396808bc6fbbd17739.tar.gz meson-097faee83b73ed88325f70396808bc6fbbd17739.tar.bz2 |
run_project_tests: add support for loading cross files
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-x | run_project_tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index a04764f..c35928f 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -348,6 +348,9 @@ def _run_test(testdir, test_build_dir, install_dir, extra_args, compiler, backen nativefile = os.path.join(testdir, 'nativefile.ini') if os.path.exists(nativefile): gen_args.extend(['--native-file', nativefile]) + crossfile = os.path.join(testdir, 'crossfile.ini') + if os.path.exists(crossfile): + gen_args.extend(['--cross-file', crossfile]) (returncode, stdo, stde) = run_configure(gen_args) try: logfile = Path(test_build_dir, 'meson-logs', 'meson-log.txt') |