aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-03-21 21:06:46 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2019-03-27 10:54:56 -0400
commitf53f58f54eaca1e97cc0e3e102ba275c85be60c0 (patch)
tree59729d36c8a12be30422533467143b651c7ee9cb /run_project_tests.py
parent507b1dc40e3ba110eca77430e98d71b47f386b55 (diff)
downloadmeson-f53f58f54eaca1e97cc0e3e102ba275c85be60c0.zip
meson-f53f58f54eaca1e97cc0e3e102ba275c85be60c0.tar.gz
meson-f53f58f54eaca1e97cc0e3e102ba275c85be60c0.tar.bz2
Always initialize compiler_options before sanity_check
This is because sanity checking wants to use CFLAGS and friends.
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 467d522..be6ecd9 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -460,6 +460,7 @@ def have_objc_compiler():
return False
if not objc_comp:
return False
+ env.coredata.process_new_compilers('objc', objc_comp, None, env)
try:
objc_comp.sanity_check(env.get_scratch_dir(), env)
except mesonlib.MesonException:
@@ -475,6 +476,7 @@ def have_objcpp_compiler():
return False
if not objcpp_comp:
return False
+ env.coredata.process_new_compilers('objcpp', objcpp_comp, None, env)
try:
objcpp_comp.sanity_check(env.get_scratch_dir(), env)
except mesonlib.MesonException: