mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 14:43:28 +00:00
test: bench: use pretty for console output
This commit is contained in:
@@ -85,6 +85,13 @@ pub fn build(b: *std.build.Builder) !void {
|
||||
.single_threaded = true,
|
||||
});
|
||||
try common(tests, options);
|
||||
|
||||
// add jsruntime pretty deps
|
||||
const pretty = tests.step.owner.createModule(.{
|
||||
.source_file = .{ .path = "vendor/jsruntime-lib/src/pretty.zig" },
|
||||
});
|
||||
tests.addModule("pretty", pretty);
|
||||
|
||||
const run_tests = b.addRunArtifact(tests);
|
||||
if (b.args) |args| {
|
||||
run_tests.addArgs(args);
|
||||
|
||||
Reference in New Issue
Block a user