aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-03-18 21:29:03 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-03-18 21:50:38 -0400
commitf7b0238ed67fc0c9e3cef38090983e33b40fa205 (patch)
tree9dcd00030e33e1babc65d28fcf7f2bebd1b2b7fd /run_unittests.py
parent0ad870f3dc970e4cee8cafc47034abf973de4113 (diff)
downloadmeson-f7b0238ed67fc0c9e3cef38090983e33b40fa205.zip
meson-f7b0238ed67fc0c9e3cef38090983e33b40fa205.tar.gz
meson-f7b0238ed67fc0c9e3cef38090983e33b40fa205.tar.bz2
add test case for installed targets uninstalling a single directory
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 82689be..ef4a786 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -2496,6 +2496,7 @@ class AllPlatformTests(BasePlatformTests):
def test_uninstall(self):
exename = os.path.join(self.installdir, 'usr/bin/prog' + exe_suffix)
+ dirname = os.path.join(self.installdir, 'usr/share/dir')
testdir = os.path.join(self.common_test_dir, '8 install')
self.init(testdir)
self.assertPathDoesNotExist(exename)
@@ -2503,6 +2504,7 @@ class AllPlatformTests(BasePlatformTests):
self.assertPathExists(exename)
self.uninstall()
self.assertPathDoesNotExist(exename)
+ self.assertPathDoesNotExist(dirname)
def test_forcefallback(self):
testdir = os.path.join(self.unit_test_dir, '31 forcefallback')