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>
This commit is contained in:
Ben Clayton 2022-02-25 19:18:23 +00:00 committed by Tint LUCI CQ
parent fe08ba4677
commit dbf75bc217
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ bool FindBenchmarkInputDir() {
// working directory. // working directory.
auto path = std::filesystem::current_path(); auto path = std::filesystem::current_path();
while (std::filesystem::is_directory(path)) { while (std::filesystem::is_directory(path)) {
auto test = path / "test" / "benchmark"; auto test = path / "test" / "tint" / "benchmark";
if (std::filesystem::is_directory(test)) { if (std::filesystem::is_directory(test)) {
kInputFileDir = test; kInputFileDir = test;
return true; return true;