Validates that the build flags have valid values.
(cls, build_type, library_link_type)
| 220 | |
| 221 | @classmethod |
| 222 | def validate_build_flags(cls, build_type, library_link_type): |
| 223 | """ |
| 224 | Validates that the build flags have valid values. |
| 225 | """ |
| 226 | if build_type not in ImpalaBuildFlavors.VALID_BUILD_TYPES: |
| 227 | raise Exception("Unknown build type {0}".format(build_type)) |
| 228 | if library_link_type not in LinkTypes.VALID_LINK_TYPES: |
| 229 | raise Exception("Unknown library link type {0}".format(library_link_type)) |
| 230 | LOG.debug("Build type detected: %s", build_type) |
| 231 | LOG.debug("Library link type detected: %s", library_link_type) |
| 232 | |
| 233 | @classmethod |
| 234 | def get_build_flags_from_web_ui(cls, impala_url): |
no test coverage detected