aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-05-13 10:36:58 -0400
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-06-06 20:02:37 +0000
commitf4d60acaa924b4735fc71b7a9c716fbea824c877 (patch)
tree76c568025844e6f39628666a80795979a632a148 /run_project_tests.py
parent75e501ceb8888562b2749d20ba2c43374e5c9671 (diff)
downloadmeson-f4d60acaa924b4735fc71b7a9c716fbea824c877.zip
meson-f4d60acaa924b4735fc71b7a9c716fbea824c877.tar.gz
meson-f4d60acaa924b4735fc71b7a9c716fbea824c877.tar.bz2
Remove had_argument_for() it is not used anymore
This also means we don't need to keep original command line arguments anymore.
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index ad367b1..36ee986 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -412,7 +412,7 @@ def have_d_compiler():
def have_objc_compiler():
with AutoDeletedDir(tempfile.mkdtemp(prefix='b ', dir='.')) as build_dir:
- env = environment.Environment(None, build_dir, get_fake_options('/'), [])
+ env = environment.Environment(None, build_dir, get_fake_options('/'))
try:
objc_comp = env.detect_objc_compiler(False)
except mesonlib.MesonException:
@@ -427,7 +427,7 @@ def have_objc_compiler():
def have_objcpp_compiler():
with AutoDeletedDir(tempfile.mkdtemp(prefix='b ', dir='.')) as build_dir:
- env = environment.Environment(None, build_dir, get_fake_options('/'), [])
+ env = environment.Environment(None, build_dir, get_fake_options('/'))
try:
objcpp_comp = env.detect_objcpp_compiler(False)
except mesonlib.MesonException: