diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-10-04 11:16:57 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-10-04 11:16:57 +0200 |
commit | 70d7f30dfe0b22cd12e902c5796e81e29f058e13 (patch) | |
tree | 73ba7755b7d9b1f5a818e217f849996023b700c4 | |
parent | 6b22c57613c2d68812c1059f6ec72a1ec1c1e8f8 (diff) |
test: fix system libs unit test
-rw-r--r-- | test/test_cerbero_build_build.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_cerbero_build_build.py b/test/test_cerbero_build_build.py index 88233511..c8406aed 100644 --- a/test/test_cerbero_build_build.py +++ b/test/test_cerbero_build_build.py @@ -83,9 +83,10 @@ class ModifyEnvTest(unittest.TestCase): self.mk.config.allow_system_libs = True self.mk.use_system_libs = True val = self.mk.get_env_var('PKG_CONFIG_PATH') - self.assertEquals(val, '/path/1:/path/2') + self.assertEquals(val,'/path/2:/usr/lib/pkgconfig:' + '/usr/share/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig') val = self.mk.get_env_var('PKG_CONFIG_LIBDIR') - self.assertIsNone(val) + self.assertEquals(val,'/path/2') def testNestedModif(self): os.environ[self.var] = self.val1 |