File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ pub fn build(b: *std.Build) !void {
44 const target = b .standardTargetOptions (.{});
55 const optimize = b .standardOptimizeOption (.{});
66
7- _ = b .addModule ("msgpack" , .{
7+ const msgpack_module = b .addModule ("msgpack" , .{
88 .root_source_file = b .path ("src/msgpack.zig" ),
99 });
1010
@@ -18,6 +18,20 @@ pub fn build(b: *std.Build) !void {
1818
1919 const run_test = b .addRunArtifact (tests );
2020
21+ const full_conformance_test_module = b .createModule (.{
22+ .root_source_file = b .path ("tests/full_conformance_vectors.zig" ),
23+ .target = target ,
24+ .optimize = optimize ,
25+ });
26+ full_conformance_test_module .addImport ("msgpack" , msgpack_module );
27+
28+ const full_conformance_tests = b .addTest (.{
29+ .root_module = full_conformance_test_module ,
30+ });
31+
32+ const run_full_conformance_tests = b .addRunArtifact (full_conformance_tests );
33+
2134 const test_step = b .step ("test" , "Run tests" );
2235 test_step .dependOn (& run_test .step );
36+ test_step .dependOn (& run_full_conformance_tests .step );
2337}
You can’t perform that action at this time.
0 commit comments