aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorRaphael Salamon <killekulla@rdrz.de>2019-02-13 21:38:11 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2019-02-19 19:41:57 +0200
commitc23ac0b3dcf67d9da6080222955daeda5ddc7a0b (patch)
treeaa138757ad1a8c1dfff8756067813b834b1e4d0e /run_unittests.py
parent37a962e90c38f094819973d5d45fa25054caa1ca (diff)
downloadmeson-c23ac0b3dcf67d9da6080222955daeda5ddc7a0b.zip
meson-c23ac0b3dcf67d9da6080222955daeda5ddc7a0b.tar.gz
meson-c23ac0b3dcf67d9da6080222955daeda5ddc7a0b.tar.bz2
Allow custom targets with same name in project and subprojects
closes #4377
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_unittests.py b/run_unittests.py
index e4e74d6..ba0527d 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -2677,7 +2677,7 @@ int main(int argc, char **argv) {
self.init(testdir)
expected = {
'bindat@cus': ['data_source.txt'],
- 'depfile@cus': [],
+ 'a685fbc@@depfile@cus': [],
}
t_intro = self.introspect('--targets')
self.assertCountEqual([t['id'] for t in t_intro], expected)
@@ -4577,7 +4577,7 @@ class LinuxlikeTests(BasePlatformTests):
docbook_target = t
break
self.assertIsInstance(docbook_target, dict)
- ifile = self.introspect(['--target-files', 'generated-gdbus-docbook@cus'])[0]
+ ifile = self.introspect(['--target-files', '8d60afc@@generated-gdbus-docbook@cus'])[0]
self.assertListEqual(t['filename'], [os.path.join(self.builddir, 'gdbus/generated-gdbus-doc-' + os.path.basename(ifile))])
def test_build_rpath(self):