def setUp(self): self.deps = {} self.deps1 = {} self.deps['a'] = ['b', 'c', 'd', 'e'] self.deps1['a'] = ['b'] self.deps['b'] = ['c'] self.deps1['b'] = ['c'] self.deps['d'] = ['c', 'e'] self.deps1['d'] = ['c', 'e'] self.dt = parallel_build.DependencyTracker() self.dt.load_fake_deps(self.deps, self.deps1)
def setUp(self): self.deps = {} self.deps1 = {} self.deps["a"] = ["b", "c", "d", "e"] self.deps1["a"] = ["b"] self.deps["b"] = ["c"] self.deps1["b"] = ["c"] self.deps["d"] = ["c", "e"] self.deps1["d"] = ["c", "e"] self.dt = parallel_build.DependencyTracker() self.dt.load_fake_deps(self.deps, self.deps1)
def setUp(self): deps = {} deps1 = {} deps1['a'] = ['b'] deps['a'] = ['b', 'c', 'd', 'e', 'f'] deps1['b'] = ['c'] deps['b'] = ['c', 'd', 'e', 'f'] deps1['c'] = ['d'] deps['c'] = ['d', 'e', 'f'] deps1['d'] = ['e'] deps['d'] = ['e', 'f'] deps['e'] = ['f'] deps1['e'] = ['f'] deps['f'] = [] deps1['f'] = [] self.serial_tracker = parallel_build.DependencyTracker() self.serial_tracker.load_fake_deps(deps, deps1) deps = {} deps1 = {} deps['a'] = ['b', 'c', 'd', 'e', 'f'] deps1['a'] = ['b', 'c', 'd', 'e', 'f'] deps['b'] = [] deps1['b'] = [] deps['c'] = [] deps1['c'] = [] deps['d'] = [] deps1['d'] = [] deps['e'] = [] deps1['e'] = [] deps['f'] = [] deps1['f'] = [] self.parallel_tracker = parallel_build.DependencyTracker() self.parallel_tracker.load_fake_deps(deps, deps1)
def setUp(self): deps = {} deps1 = {} deps1["a"] = ["b"] deps["a"] = ["b", "c", "d", "e", "f"] deps1["b"] = ["c"] deps["b"] = ["c", "d", "e", "f"] deps1["c"] = ["d"] deps["c"] = ["d", "e", "f"] deps1["d"] = ["e"] deps["d"] = ["e", "f"] deps["e"] = ["f"] deps1["e"] = ["f"] deps["f"] = [] deps1["f"] = [] self.serial_tracker = parallel_build.DependencyTracker() self.serial_tracker.load_fake_deps(deps, deps1) deps = {} deps1 = {} deps["a"] = ["b", "c", "d", "e", "f"] deps1["a"] = ["b", "c", "d", "e", "f"] deps["b"] = [] deps1["b"] = [] deps["c"] = [] deps1["c"] = [] deps["d"] = [] deps1["d"] = [] deps["e"] = [] deps1["e"] = [] deps["f"] = [] deps1["f"] = [] self.parallel_tracker = parallel_build.DependencyTracker() self.parallel_tracker.load_fake_deps(deps, deps1)