diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-03-18 21:29:03 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-03-18 21:50:38 -0400 |
commit | f7b0238ed67fc0c9e3cef38090983e33b40fa205 (patch) | |
tree | 9dcd00030e33e1babc65d28fcf7f2bebd1b2b7fd /run_unittests.py | |
parent | 0ad870f3dc970e4cee8cafc47034abf973de4113 (diff) | |
download | meson-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-x | run_unittests.py | 2 |
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') |