aboutsummaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2021-09-13 14:16:24 -0700
committerXavier Claessens <xclaesse@gmail.com>2021-09-14 13:38:04 -0400
commitfddf88ba08e4211b8793964efb0461725bdacd21 (patch)
treec799fdec3c1d0e0c02aea1f8c21b5897562169ae /unittests
parent214d03568f75fbd578cc97d46f48d5d882f3870b (diff)
downloadmeson-fddf88ba08e4211b8793964efb0461725bdacd21.zip
meson-fddf88ba08e4211b8793964efb0461725bdacd21.tar.gz
meson-fddf88ba08e4211b8793964efb0461725bdacd21.tar.bz2
backends/vs: Do not emit dummy command for alias_command().
Alias commands did not work with the vs backend, due to trying to access target.command[0] with an empty command. Fix this by just not emitting a CustomBuild node for alias targets - the project references are enough to trigger the necessary actions. Fixes: #9247
Diffstat (limited to 'unittests')
-rw-r--r--unittests/allplatformstests.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index c420340..5b98aa7 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -3066,9 +3066,6 @@ class AllPlatformTests(BasePlatformTests):
self.init(testdir, extra_args=['-Dcmake_prefix_path=' + os.path.join(testdir, 'prefix')])
def test_alias_target(self):
- if self.backend is Backend.vs:
- # FIXME: This unit test is broken with vs backend, needs investigation
- raise SkipTest(f'Skipping alias_target test with {self.backend.name} backend')
testdir = os.path.join(self.unit_test_dir, '65 alias target')
self.init(testdir)
self.build()