Skip to content

Commit

Permalink
build test: run all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
renerocksai committed May 23, 2023
1 parent fdf731f commit a132b78
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,14 @@ pub fn build(b: *std.build.Builder) !void {
run_sendfile_test_step.dependOn(&run_sendfile_tests.step);
run_sendfile_test_step.dependOn(&install_sendfile_tests.step);

// Similar to creating the run step earlier, this exposes a `test` step to
// the `zig build --help` menu, providing a way for the participant to request
// running the unit tests.
const test_step = b.step("test", "Run unit tests");
test_step.dependOn(&run_auth_tests.step);
test_step.dependOn(&run_httpparams_tests.step);
test_step.dependOn(&run_sendfile_tests.step);

//
// pkghash
//
Expand Down

0 comments on commit a132b78

Please sign in to comment.