def test_setup_separate_builds_sharedlibroot(self): # If we're using separate_builds, the two cases should still use # the same sharedlibroot # Setup case1root, _ = self.get_caseroots() case1 = CaseFake(case1root) case1.set_value("SHAREDLIBROOT", os.path.join(case1root, "sharedlibroot")) # Exercise mytest = SystemTestsCompareTwoFake(case1, separate_builds = True) # Verify self.assertEqual(case1.get_value("SHAREDLIBROOT"), mytest._case2.get_value("SHAREDLIBROOT"))
def test_setup_separate_builds_sharedlibroot(self): # If we're using separate_builds, the two cases should still use # the same sharedlibroot # Setup case1root, _ = self.get_caseroots() case1 = CaseFake(case1root) case1.set_value("SHAREDLIBROOT", os.path.join(case1root, "sharedlibroot")) # Exercise mytest = SystemTestsCompareTwoFake(case1, separate_builds=True) # Verify self.assertEqual(case1.get_value("SHAREDLIBROOT"), mytest._case2.get_value("SHAREDLIBROOT"))