Lines Matching refs:dependencies
41 import pkg.publish.dependencies as dependencies
653 dependencies.resolve_deps([m1_path], self.api_obj, ["*"])
665 dependencies.resolve_deps([m1_path], self.api_obj, ["*"])
679 dependencies.resolve_deps([m1_path], self.api_obj, ["*"])
711 # dependencies.
758 """test that cross dependencies between published packages
766 dependencies.resolve_deps([m1_path, m2_path], self.api_obj,
799 dependencies.resolve_deps([m1_path, m2_path], self.api_obj,
824 dependencies.resolve_deps([m1_path, m2_path], self.api_obj,
847 dependencies.UnresolvedDependencyError):
857 when resolving dependencies."""
865 dependencies.resolve_deps([m1_path, m2_path, m3_path],
893 when resolving dependencies."""
901 dependencies.resolve_deps([m1_path, m2_path, m3_path],
926 when resolving dependencies."""
936 dependencies.resolve_deps(
1002 # file dependencies.
1015 dependencies.resolve_deps([mf_path, both_path],
1021 dependencies.resolve_deps([mf_path, py_path],
1027 dependencies.resolve_deps([mf_path, pyc_path],
1033 # dependencies because files which satisfy the
1036 dependencies.resolve_deps([mf_path, py_path, pyc_path],
1055 dependencies.resolve_deps(
1087 dependencies.resolve_deps([m1_path], self.api_obj, ["*"])
1105 dependencies correctly when the files are delivered in the same
1133 # dependencies.
1161 dependencies.resolve_deps([col_path, both_path],
1167 dependencies.resolve_deps([col_path, bar_path],
1173 dependencies.resolve_deps([col_path, foo_path],
1178 # This test should also pass because the dependencies will be
1181 dependencies.resolve_deps(
1199 # This resolution should result in two, varianted, dependencies.
1206 dependencies.resolve_deps(
1238 dependencies.resolve_deps([col_path, bar_path, foo_path],
1256 dependencies.resolve_deps([col_path, bar_path, bar2_path],
1286 dependencies.resolve_deps(manifests, self.api_obj, ["*"])
1337 dependencies.resolve_deps([dep_path, res1_path, res2_path],
1355 dependencies.resolve_deps([dep_path, res1_path, res2_path],
1371 """Test that when a package has manually specified dependencies
1373 file dependencies with a variant that's not set on the package,
1417 dependencies.resolve_deps([manf_path], self.api_obj,
1433 incorporate, or other types of dependencies doesn't end up with
1434 two copies of any dependencies."""
1467 dependencies.resolve_deps([dep_path], self.api_obj, ["*"])
1491 dependencies.resolve_deps([dep_path], self.api_obj, ["*"])
1515 dependencies.resolve_deps([dep_path], self.api_obj, ["*"])
1530 incorporate, or other types of dependencies on the same package
1565 dependencies.resolve_deps([d_path, p_path], self.api_obj,
1586 dependencies.resolve_deps([d_path, p_path], self.api_obj,
1604 dependencies.resolve_deps([d_path, p_path, p2_path],
1639 got_prov_1_sparc, "Got the right number of dependencies "
1647 dependencies.resolve_deps([d_path, p_path], self.api_obj,
1662 dependencies.resolve_deps([d_path, p_path], self.api_obj,
1685 dependencies.resolve_deps([d_path, p_path, p2_path],
1736 "of dependencies but missed one of the expected ones. "
1745 dependencies.resolve_deps([d_path, p_path, p2_path],
1774 "of dependencies but missed one of the expected ones. "
1782 dependencies.resolve_deps([d_path, p_path, p2_path],
1807 dependencies.resolve_deps(
1832 d.attrs[dependencies.files_prefix],
1835 d.attrs[dependencies.via_links_prefix],
1838 d.attrs[dependencies.type_prefix], "script")
1849 "the right number of dependencies but missed one of the "
1868 dependencies.resolve_deps([cs2_path, ksh_path, zones_path],
1889 d.attrs[dependencies.files_prefix],
1892 d.attrs[dependencies.via_links_prefix],
1895 d.attrs[dependencies.type_prefix], "script")
1901 d.attrs[dependencies.files_prefix],
1904 d.attrs[dependencies.type_prefix], "link")
1907 "of dependencies but missed one of the expected ones. "
1921 dependencies.resolve_deps(
1966 dependencies.resolve_deps([l1_path, l2_path, der_path,
2007 """Test that require-any dependencies are correctly removed when
2022 dependencies.resolve_deps(
2042 d.attrs[dependencies.type_prefix], "elf")
2047 # require dependencies are changed and when the require
2057 dependencies.resolve_deps(
2077 d.attrs[dependencies.type_prefix], "elf")
2095 dependencies.resolve_deps(
2119 d.attrs[dependencies.type_prefix], "elf")
2136 dependencies.resolve_deps(
2160 d.attrs[dependencies.type_prefix], "elf")
2168 require-any dependencies which contain that fmri."""
2186 dependencies.resolve_deps([l1_path, l2_path,
2195 dependencies.DropPackageWarning))
2210 d.attrs[dependencies.type_prefix], "elf")
2213 d.attrs[dependencies.type_prefix], "link")
2219 out require-any dependencies which contain that fmri."""
2237 dependencies.resolve_deps([l1_path, l2_path, der_path,
2267 d.attrs[dependencies.type_prefix], "elf")
2271 d.attrs[dependencies.type_prefix], "link")
2277 # i386, this should clobber more require-any dependencies.
2289 dependencies.resolve_deps([l1_path, l2_path, der_path,
2297 dependencies.DropPackageWarning))
2314 d.attrs[dependencies.type_prefix], "elf")
2318 d.attrs[dependencies.type_prefix], "link")
2324 """Test that automatically generated dependencies can cancel
2325 require-any dependencies."""
2355 dependencies.resolve_deps([l1_path, l2_path, der_path,
2363 dependencies.DropPackageWarning))
2382 d.attrs[dependencies.type_prefix], "elf")
2386 d.attrs[dependencies.type_prefix], "link")
2392 d.attrs[dependencies.type_prefix],
2415 dependencies.resolve_deps([file_path, link_path],
2472 dependencies.resolve_deps([dep_path, ksh_path, cos_path],
2524 dependencies.resolve_deps([dep_path, ksh_path, cos_path],
2545 """Check that conditional dependencies are handled correctly in
2549 # dependencies if the require dependency specifies a successor
2559 dependencies.resolve_deps([manf_path], self.api_obj, [])
2573 # dependencies.
2584 dependencies.resolve_deps([manf_path], self.api_obj, [])
2592 "Expected 3 dependencies got {0}. Deps are:\n{1}".format(
2629 dependencies.resolve_deps([manf_path], self.api_obj, [])
2662 dependencies.resolve_deps([manf_path], self.api_obj, [])
2688 """Check that conditional dependencies don't get collapsed into
2689 require-any dependencies and that manually specified
2690 dependencies aren't improperly collapsed."""
2692 # Check that manually specified conditional dependencies aren't
2693 # collapsed into require-any dependencies.
2704 dependencies.resolve_deps([manf_path], self.api_obj, [])
2733 # Check that manually specified conditional dependencies aren't
2734 # collapsed into require-any dependencies even if other
2735 # conditional dependencies are being reduced to require-any
2736 # dependencies. If the manual dependencies were not included in
2739 # conditional dependencies on a and c will reduce to simple
2740 # require dependencies on a and c, the require-any dependency on
2770 dependencies.resolve_deps(
2803 # removed if the require dependencies in the package are at a
2833 dependencies.resolve_deps([manf_path, a_path, b_path, c_path],
2874 """Check that the generated dependencies match the expected
2875 dependencies. This function is designed for tests associated
2882 # Only the first manifest should have any dependencies since the
2886 "Got unexpected dependencies for {0}. Dependencies "
2892 "Expected {0} dependencies got {1}. The dependencies "
2900 "Manually expected {0} but the number of dependencies in "
2901 "the expected types was {1}. The dependencies were:\n\t{2}".format(
2937 dependency graph, and the set of expected dependencies of
2938 different types needed to represent the package dependencies."""
2969 # Determine what dependencies are needed to represent each chain
3043 """Check that when resolve a configuration of dependencies that
3058 dependencies.resolve_deps(paths, self.api_obj, [])
3067 dependencies.NeedConditionalRequireAny))
3072 """Check that when resolve a configuration of dependencies that
3087 dependencies.resolve_deps(paths, self.api_obj, [])
3096 dependencies.NeedConditionalRequireAny))
3101 """Check that when resolve a configuration of dependencies that
3116 dependencies.resolve_deps(paths, self.api_obj, [])
3125 dependencies.NeedConditionalRequireAny))
3130 """Check that when resolve a configuration of dependencies that
3145 dependencies.resolve_deps(paths, self.api_obj, [])
3154 dependencies.NeedConditionalRequireAny))
3159 """Check that when resolve a configuration of dependencies that
3174 dependencies.resolve_deps(paths, self.api_obj, [])
3183 dependencies.NeedConditionalRequireAny))
3188 """Check that when resolve a configuration of dependencies that
3209 dependencies.resolve_deps(paths, self.api_obj, [])
3218 dependencies.NeedConditionalRequireAny))
3227 """Check that when resolve a configuration of dependencies that
3252 dependencies.resolve_deps(paths, self.api_obj, [])
3260 dependencies.NeedConditionalRequireAny))
3270 """Check that when resolve a configuration of dependencies that
3293 dependencies.resolve_deps(paths, self.api_obj, [])
3301 dependencies.NeedConditionalRequireAny))
3374 dependencies.resolve_deps([dep_path, res1_path, res2_path],
3413 dependencies.resolve_deps(
3482 dependencies.resolve_deps([dep_path, res1_path, res2_path],
3503 dependencies.resolve_deps(
3548 dependencies.resolve_deps(paths, self.api_obj, [])
3555 "be two require dependencies and no conditional "
3556 "dependencies.")
3588 dependencies.resolve_deps(paths, self.api_obj, [])
3598 "dependencies for {0}. Dependencies are:\n{1}".format(
3603 self.debug("Five dependencies are expected. Two require "
3604 "dependencies when variant.num=one, and three (one "
3612 # dependencies.
3650 dependencies.resolve_deps(paths, self.api_obj, [])
3660 "dependencies for {0}. Dependencies are:\n{1}".format(
3672 # dependencies.
3711 dependencies.resolve_deps(paths, self.api_obj, [])
3721 "dependencies for {0}. Dependencies are:\n{1}".format(
3726 self.debug("Six require dependencies are expected since all "
3727 "conditional dependencies collapse to require dependencies "
3738 # dependencies.
3777 dependencies.resolve_deps(paths, self.api_obj, [])
3787 "dependencies for {0}. Dependencies are:\n{1}".format(
3792 self.debug("Seven dependencies are expected:\ntwo require "
3793 "dependencies (on B and D) when variant.num is one\nfour "
3794 "conditional dependencies (B->D, D->F, C->E, E->G) when "
3803 # dependencies.
3858 dependencies.resolve_deps(paths, self.api_obj, [])
3868 "dependencies for {0}. Dependencies are:\n{1}".format(
3873 self.debug("Five dependencies are expected:\nrequire "
3874 "dependencies on B and D\na require-any dependency on F "
3875 "and G\nconditional dependencies from C to E and E to G.")
3884 # dependencies.
3902 """Check that resolve infers the correct dependencies when more
3916 dependencies.resolve_deps(paths, self.api_obj, [])
3924 """Check that resolve infers the correct dependencies when more
3939 dependencies.resolve_deps(paths, self.api_obj, [])
3947 """Check that resolve infers the correct dependencies when more
3961 dependencies.resolve_deps(paths, self.api_obj, [])
3969 """Check that resolve infers the correct dependencies when more
3983 dependencies.resolve_deps(paths, self.api_obj, [])
3991 """Check that resolve infers the correct dependencies when more
4006 dependencies.resolve_deps(paths, self.api_obj, [])
4014 """Check that resolve infers the correct dependencies when more
4028 dependencies.resolve_deps(paths, self.api_obj, [])
4036 """Test that multiple file dependencies don't interact
4037 improperly with each other when inferring dependencies."""
4080 dependencies.resolve_deps(paths, self.api_obj, [])
4099 dependencies.resolve_deps(paths, self.api_obj, [])
4117 dependencies.resolve_deps(paths, self.api_obj, [])
4135 dependencies.resolve_deps(paths, self.api_obj, [])
4156 dependencies.resolve_deps([manf_path], self.api_obj, [])
4169 dependencies.resolve_deps([manf_path], self.api_obj, [])
4221 dependencies.resolve_deps([dep_path, perl512_path,
4230 dependencies.DropPackageWarning))
4250 dependencies.resolve_deps([manual_path, perl512_path,
4301 dependencies.resolve_deps([dep_path, perl512_path,
4310 # Ensure that two require-any dependencies are in the result.