move updated units_test.zig into tests directory

This commit is contained in:
Techatrix
2022-09-11 00:07:01 +02:00
parent 7730c7715b
commit 6933e1598a
6 changed files with 305 additions and 121 deletions

View File

@@ -114,12 +114,6 @@ pub fn build(b: *std.build.Builder) !void {
const test_step = b.step("test", "Run all the tests");
test_step.dependOn(b.getInstallStep());
var unit_tests = b.addTest("src/unit_tests.zig");
unit_tests.use_stage1 = true;
unit_tests.setBuildMode(.Debug);
unit_tests.setTarget(target);
test_step.dependOn(&unit_tests.step);
var tests = b.addTest("tests/tests.zig");
tests.use_stage1 = true;
tests.addPackage(.{ .name = "zls", .source = .{ .path = "src/zls.zig" }, .dependencies = exe.packages.items });