From 2b22576fb6a8bb52434068d95eff188a201e6bc5 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Thu, 9 Aug 2018 16:06:55 -0400 Subject: Remove cross_info; cross file is parsed up front and discarded --- run_tests.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'run_tests.py') diff --git a/run_tests.py b/run_tests.py index aa8a589..25a2d7f 100755 --- a/run_tests.py +++ b/run_tests.py @@ -76,8 +76,10 @@ def get_fake_options(prefix): opts.native_file = [] return opts -def get_fake_env(sdir, bdir, prefix): - env = Environment(sdir, bdir, get_fake_options(prefix)) +def get_fake_env(sdir, bdir, prefix, opts = None): + if opts is None: + opts = get_fake_options(prefix) + env = Environment(sdir, bdir, opts) env.coredata.compiler_options['c_args'] = FakeCompilerOptions() return env -- cgit v1.1