mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
build: skip test-cimport when -Dskip-translate-c is given
This commit is contained in:
parent
d12aed5f14
commit
aae90762cc
@ -464,6 +464,7 @@ pub fn build(b: *std.Build) !void {
|
|||||||
.max_rss = 4000000000,
|
.max_rss = 4000000000,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
if (!skip_translate_c) {
|
||||||
test_modules_step.dependOn(tests.addModuleTests(b, .{
|
test_modules_step.dependOn(tests.addModuleTests(b, .{
|
||||||
.test_filters = test_filters,
|
.test_filters = test_filters,
|
||||||
.test_target_filters = test_target_filters,
|
.test_target_filters = test_target_filters,
|
||||||
@ -483,6 +484,7 @@ pub fn build(b: *std.Build) !void {
|
|||||||
.skip_llvm = skip_llvm,
|
.skip_llvm = skip_llvm,
|
||||||
.skip_libc = skip_libc,
|
.skip_libc = skip_libc,
|
||||||
}));
|
}));
|
||||||
|
}
|
||||||
|
|
||||||
test_modules_step.dependOn(tests.addModuleTests(b, .{
|
test_modules_step.dependOn(tests.addModuleTests(b, .{
|
||||||
.test_filters = test_filters,
|
.test_filters = test_filters,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user