freetype:build: don't run tests with zig build

This commit is contained in:
Ali Chraghi 2022-08-28 22:40:44 +04:30 committed by Stephen Gutekanst
parent ec0be9294d
commit af8310f2df

View file

@ -102,8 +102,9 @@ pub fn testStep(b: *Builder, mode: std.builtin.Mode, target: std.zig.CrossTarget
harfbuzz_tests.main_pkg_path = (comptime thisDir());
harfbuzz_tests.install();
main_tests.step.dependOn(&harfbuzz_tests.run().step);
return main_tests.run();
const main_tests_run = main_tests.run();
main_tests_run.step.dependOn(&harfbuzz_tests.run().step);
return main_tests_run;
}
pub fn link(b: *Builder, step: *std.build.LibExeObjStep, options: Options) void {