freetype: build: add package to tests
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
14ecaa6a7e
commit
b146f47037
1 changed files with 2 additions and 0 deletions
|
|
@ -11,11 +11,13 @@ pub fn build(b: *std.build.Builder) !void {
|
|||
const dedicated_tests = b.addTest("src/main.zig");
|
||||
dedicated_tests.setBuildMode(mode);
|
||||
dedicated_tests.setTarget(target);
|
||||
dedicated_tests.addPackage(pkg);
|
||||
link(b, dedicated_tests, .{});
|
||||
|
||||
const main_tests = b.addTest("test/main.zig");
|
||||
main_tests.setBuildMode(mode);
|
||||
main_tests.setTarget(target);
|
||||
main_tests.addPackage(pkg);
|
||||
link(b, main_tests, .{ .custom_config_path = "./test/ft" });
|
||||
|
||||
const test_step = b.step("test", "Run library tests");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue