diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-07 17:29:31 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-08 10:22:57 +0300 |
commit | e759c8b2e9866fb4f244d4233583a8976f3ac162 (patch) | |
tree | 7b8b6e35fc87c5c6c74c252517dbb96accd50762 /mesonbuild/backend/xcodebackend.py | |
parent | fb222f47026581c8e8082872dde9b682772e321e (diff) | |
download | meson-e759c8b2e9866fb4f244d4233583a8976f3ac162.zip meson-e759c8b2e9866fb4f244d4233583a8976f3ac162.tar.gz meson-e759c8b2e9866fb4f244d4233583a8976f3ac162.tar.bz2 |
Remove unneeded variable.
Diffstat (limited to 'mesonbuild/backend/xcodebackend.py')
-rw-r--r-- | mesonbuild/backend/xcodebackend.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index 3b14705..c49f01d 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -220,7 +220,7 @@ class XCodeBackend(backends.Backend): return os.sep.join(['..'] * len(directories)) def generate(self): - test_data = self.serialize_tests()[0] + self.serialize_tests() # Cache the result as the method rebuilds the array every time it is called. self.build_targets = self.build.get_build_targets() self.generate_filemap() @@ -270,7 +270,7 @@ class XCodeBackend(backends.Backend): self.generate_pbx_project(objects_dict) objects_dict.add_comment(PbxComment('End PBXProject section')) objects_dict.add_comment(PbxComment('Begin PBXShellScriptBuildPhase section')) - self.generate_pbx_shell_build_phase(objects_dict, test_data) + self.generate_pbx_shell_build_phase(objects_dict) objects_dict.add_comment(PbxComment('End PBXShellScriptBuildPhase section')) objects_dict.add_comment(PbxComment('Begin PBXSourcesBuildPhase section')) self.generate_pbx_sources_build_phase(objects_dict) @@ -709,7 +709,7 @@ class XCodeBackend(backends.Backend): for t in self.build_targets: targets_arr.add_item(self.native_targets[t], t) - def generate_pbx_shell_build_phase(self, objects_dict, test_data): + def generate_pbx_shell_build_phase(self, objects_dict): shell_dict = PbxDict() objects_dict.add_item(self.test_command_id, shell_dict, 'ShellScript') shell_dict.add_item('isa', 'PBXShellScriptBuildPhase') |