blob: f999e58a37b55e8621c25b6a1c1e1acd9776aa60 [file] [log] [blame]
Austin Schuh373f1762021-06-02 21:07:09 -07001#include "aos/testing/path.h"
2#include "absl/strings/str_cat.h"
3
4namespace aos {
5namespace testing {
6
7// Returns the path to the provided artifact which works when built both as an
8// external target and in the repo.
9std::string ArtifactPath(std::string_view path) {
10 // TODO(austin): Don't hard-code the repo name here since it likely will
11 // change.
12 return absl::StrCat("../org_frc971/", path);
13}
14
15} // namespace testing
16} // namespace aos