aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-06-08 06:03:26 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-06-08 12:18:16 +0000
commitdf6909a83c2ca8bdbfde3f3fd592818afd9e29e7 (patch)
treeed98155cf9d325c5005a4fa182a6418acb1eeb6a /run_unittests.py
parentaee9b5a51853315b704e044016172565ec4c97a5 (diff)
downloadmeson-df6909a83c2ca8bdbfde3f3fd592818afd9e29e7.zip
meson-df6909a83c2ca8bdbfde3f3fd592818afd9e29e7.tar.gz
meson-df6909a83c2ca8bdbfde3f3fd592818afd9e29e7.tar.bz2
Add a unit test for `meson introspect --installed`
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 61c0816..f353a10 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -2914,6 +2914,9 @@ class LinuxlikeTests(BasePlatformTests):
self.assertEqual(want_mode, found_mode,
msg=('Expected file %s to have mode %s but found %s instead.' %
(fsobj, want_mode, found_mode)))
+ # Ensure that introspect --installed works on all types of files
+ # FIXME: also verify the files list
+ self.introspect('--installed')
def test_install_umask(self):
'''