mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
Merge pull request #193 from lightpanda-io/build-test
build: use test step option struct
This commit is contained in:
@@ -83,10 +83,12 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
// ----
|
// ----
|
||||||
|
|
||||||
// compile
|
// compile
|
||||||
const tests = b.addTest(.{ .root_source_file = .{ .path = "src/run_tests.zig" } });
|
const tests = b.addTest(.{
|
||||||
|
.root_source_file = .{ .path = "src/run_tests.zig" },
|
||||||
|
.test_runner = "src/test_runner.zig",
|
||||||
|
.single_threaded = true,
|
||||||
|
});
|
||||||
try common(tests, options);
|
try common(tests, options);
|
||||||
tests.single_threaded = true;
|
|
||||||
tests.test_runner = "src/test_runner.zig";
|
|
||||||
const run_tests = b.addRunArtifact(tests);
|
const run_tests = b.addRunArtifact(tests);
|
||||||
|
|
||||||
// step
|
// step
|
||||||
|
|||||||
Reference in New Issue
Block a user