diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2018-11-29 14:53:28 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-01-06 12:19:29 +0100 |
commit | b034f52656c19f378fc144abd9087e7526b1e27f (patch) | |
tree | 229eed798976f71a29585be161ffe8bc57a83973 /run_unittests.py | |
parent | b91c5aad854bff3a13c27aa1a6ade85ded216207 (diff) | |
download | meson-b034f52656c19f378fc144abd9087e7526b1e27f.zip meson-b034f52656c19f378fc144abd9087e7526b1e27f.tar.gz meson-b034f52656c19f378fc144abd9087e7526b1e27f.tar.bz2 |
Filenames are now lists
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/run_unittests.py b/run_unittests.py index 492a22c..1977fe0 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -1436,7 +1436,7 @@ class AllPlatformTests(BasePlatformTests): # Get name of static library targets = self.introspect('--targets') self.assertEqual(len(targets), 1) - libname = targets[0]['filename'] + libname = targets[0]['filename'][0] # Build and get contents of static library self.build() before = self._run(['ar', 't', os.path.join(self.builddir, libname)]).split() @@ -3168,7 +3168,7 @@ recommended as it is not supported on some platforms''') ('name', str), ('id', str), ('type', str), - ('filename', str), + ('filename', list), ('build_by_default', bool), ('sources', list), ('installed', bool), @@ -4368,7 +4368,7 @@ class LinuxlikeTests(BasePlatformTests): break self.assertIsInstance(docbook_target, dict) ifile = self.introspect(['--target-files', 'generated-gdbus-docbook@cus'])[0] - self.assertEqual(t['filename'], 'gdbus/generated-gdbus-doc-' + os.path.basename(ifile)) + self.assertListEqual(t['filename'], ['gdbus/generated-gdbus-doc-' + os.path.basename(ifile)]) def test_build_rpath(self): if is_cygwin(): |