benchmarks: Fix path to benchmark files
Bug: tint:1378
Bug: tint:1418
Change-Id: I601d344c0fe5598b5ccc50dc1fc4cecf5a8f5357
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/82000
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
diff --git a/src/tint/bench/benchmark.cc b/src/tint/bench/benchmark.cc
index 4754823..4fd96e2 100644
--- a/src/tint/bench/benchmark.cc
+++ b/src/tint/bench/benchmark.cc
@@ -70,7 +70,7 @@
// working directory.
auto path = std::filesystem::current_path();
while (std::filesystem::is_directory(path)) {
- auto test = path / "test" / "benchmark";
+ auto test = path / "test" / "tint" / "benchmark";
if (std::filesystem::is_directory(test)) {
kInputFileDir = test;
return true;