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