Crate petri_artifact_resolver_openvmm_known_paths

Source
Expand description

Structs§

OpenvmmKnownPathsTestArtifactResolver
An implementation of [petri_artifacts_core::ResolveTestArtifact] that resolves artifacts to various “known paths” within the context of the OpenVMM repository.

Enums§

MissingCommand
A description of a command that can be run to create a missing file.

Functions§

get_output_executable_path
Attempts to find the path to a rust executable built by Cargo, checking the test content directory if the environment variable is set.
get_path
Attempts to find the given file, first checking for it relative to the test content directory, then falling back to the provided search path.
get_repo_root
Gets a path to the root of the repo.