glfw:build: rename test steps
This commit is contained in:
parent
edc2a9da7d
commit
b30ec07736
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ pub fn build(b: *Builder) void {
|
|||
}
|
||||
|
||||
pub fn testStep(b: *Builder, mode: std.builtin.Mode, target: std.zig.CrossTarget) *std.build.RunStep {
|
||||
const main_tests = b.addTestExe("glfw_tests", thisDir() ++ "/src/main.zig");
|
||||
const main_tests = b.addTestExe("glfw-tests", thisDir() ++ "/src/main.zig");
|
||||
main_tests.setBuildMode(mode);
|
||||
main_tests.setTarget(target);
|
||||
link(b, main_tests, .{});
|
||||
|
@ -22,7 +22,7 @@ pub fn testStep(b: *Builder, mode: std.builtin.Mode, target: std.zig.CrossTarget
|
|||
}
|
||||
|
||||
fn testStepShared(b: *Builder, mode: std.builtin.Mode, target: std.zig.CrossTarget) *std.build.RunStep {
|
||||
const main_tests = b.addTestExe("glfw_tests_shared", thisDir() ++ "/src/main.zig");
|
||||
const main_tests = b.addTestExe("glfw-tests-shared", thisDir() ++ "/src/main.zig");
|
||||
main_tests.setBuildMode(mode);
|
||||
main_tests.setTarget(target);
|
||||
link(b, main_tests, .{ .shared = true });
|
||||
|
|
Loading…
Add table
Reference in a new issue