fixing build cts

This commit is contained in:
2025-12-14 18:54:05 +01:00
parent 20113d2cae
commit dad1620a15

View File

@@ -243,7 +243,7 @@ fn addMultithreadedCTS(b: *std.Build, target: std.Build.ResolvedTarget, impl: *c
run.addArg("run");
run.addArg("--deqp");
if (std.process.getEnvVarOwned(b.allocator, "ZIG_GLOBAL_CACHE_DIR")) |cache_path| {
run.addArg(b.fmt("{s}/{s}", .{ cache_path, cts_exe_path }));
run.addArg(b.fmt("{s}/../{s}", .{ cache_path, cts_exe_path }));
} else |err| switch (err) {
error.EnvironmentVariableNotFound => {
run.addArg(cts_exe_path);