mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
build: skip test-cimport when -Dskip-translate-c is given
This commit is contained in:
parent
d12aed5f14
commit
aae90762cc
1 changed files with 21 additions and 19 deletions
|
|
@ -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…
Add table
Reference in a new issue