Fix tests not depending on core lib module
This commit is contained in:
parent
e24868406c
commit
a2abd9d42d
|
@ -36,6 +36,7 @@ pub fn build(builder: *std.build.Builder) void {
|
||||||
{
|
{
|
||||||
const tests = builder.addTestExe("test", "./src/tests.zig");
|
const tests = builder.addTestExe("test", "./src/tests.zig");
|
||||||
|
|
||||||
|
tests.addPackage(core_pkg);
|
||||||
tests.setTarget(target);
|
tests.setTarget(target);
|
||||||
tests.setBuildMode(mode);
|
tests.setBuildMode(mode);
|
||||||
builder.step("test", "Run unit tests").dependOn(&tests.step);
|
builder.step("test", "Run unit tests").dependOn(&tests.step);
|
||||||
|
|
Loading…
Reference in New Issue