add internpool to test steps
This commit is contained in:
parent
4a8fe90d23
commit
06fcfcb3db
@ -49,7 +49,7 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
"enable_tracy_callstack",
|
"enable_tracy_callstack",
|
||||||
b.option(bool, "enable_tracy_callstack", "Enable callstack graphs.") orelse false,
|
b.option(bool, "enable_tracy_callstack", "Enable callstack graphs.") orelse false,
|
||||||
);
|
);
|
||||||
|
|
||||||
exe_options.addOption(
|
exe_options.addOption(
|
||||||
bool,
|
bool,
|
||||||
"enable_failing_allocator",
|
"enable_failing_allocator",
|
||||||
@ -171,4 +171,9 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
tests.setBuildMode(.Debug);
|
tests.setBuildMode(.Debug);
|
||||||
tests.setTarget(target);
|
tests.setTarget(target);
|
||||||
test_step.dependOn(&tests.step);
|
test_step.dependOn(&tests.step);
|
||||||
|
|
||||||
|
var src_tests = b.addTest("src/zls.zig");
|
||||||
|
src_tests.setBuildMode(.Debug);
|
||||||
|
src_tests.setTarget(target);
|
||||||
|
test_step.dependOn(&src_tests.step);
|
||||||
}
|
}
|
||||||
|
@ -13,3 +13,8 @@ pub const URI = @import("uri.zig");
|
|||||||
pub const DocumentStore = @import("DocumentStore.zig");
|
pub const DocumentStore = @import("DocumentStore.zig");
|
||||||
pub const ComptimeInterpreter = @import("ComptimeInterpreter.zig");
|
pub const ComptimeInterpreter = @import("ComptimeInterpreter.zig");
|
||||||
pub const InternPool = @import("InternPool.zig");
|
pub const InternPool = @import("InternPool.zig");
|
||||||
|
|
||||||
|
comptime {
|
||||||
|
const std = @import("std");
|
||||||
|
std.testing.refAllDecls(@This());
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user