blob: f999e58a37b55e8621c25b6a1c1e1acd9776aa60 [file] [log] [blame]
#include "aos/testing/path.h"
#include "absl/strings/str_cat.h"
namespace aos {
namespace testing {
// Returns the path to the provided artifact which works when built both as an
// external target and in the repo.
std::string ArtifactPath(std::string_view path) {
// TODO(austin): Don't hard-code the repo name here since it likely will
// change.
return absl::StrCat("../org_frc971/", path);
}
} // namespace testing
} // namespace aos