From 097faee83b73ed88325f70396808bc6fbbd17739 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 7 Jan 2019 16:40:50 -0800 Subject: [PATCH] run_project_tests: add support for loading cross files --- run_project_tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run_project_tests.py b/run_project_tests.py index a04764f57..c35928fa4 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')