authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-06-01 14:05:58-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-06-01 14:05:58-07:00
logb095aa6986badc3b8c2255ad2c824ca4ea9959d9
tree43ef9700e3174f622d1add61f9be23c750a4121f
parentde14fba2478019ba6070407502b422d349ebf754

CI: skip single-threaded tests on Drone

sure would be nice if they would just give us another hour of CI run time.

2 files changed, 5 insertions(+), 4 deletions(-)

build.zig+3-2
......@@ -54,6 +54,7 @@ pub fn build(b: *Builder) !void {
5454 const skip_release_safe = b.option(bool, "skip-release-safe", "Main test suite skips release-safe builds") orelse skip_release;
5555 const skip_non_native = b.option(bool, "skip-non-native", "Main test suite skips non-native builds") orelse false;
5656 const skip_libc = b.option(bool, "skip-libc", "Main test suite skips tests that link libc") orelse false;
57 const skip_single_threaded = b.option(bool, "skip-single-threaded", "Main test suite skips tests that are single-threaded") orelse false;
5758 const skip_stage1 = b.option(bool, "skip-stage1", "Main test suite skips stage1 compile error tests") orelse false;
5859 const skip_run_translated_c = b.option(bool, "skip-run-translated-c", "Main test suite skips run-translated-c tests") orelse false;
5960 const skip_stage2_tests = b.option(bool, "skip-stage2-tests", "Main test suite skips self-hosted compiler tests") orelse false;
......@@ -444,7 +445,7 @@ pub fn build(b: *Builder) !void {
444445 "behavior",
445446 "Run the behavior tests",
446447 modes,
447 false, // skip_single_threaded
448 skip_single_threaded,
448449 skip_non_native,
449450 skip_libc,
450451 skip_stage1,
......@@ -501,7 +502,7 @@ pub fn build(b: *Builder) !void {
501502 "std",
502503 "Run the standard library tests",
503504 modes,
504 false,
505 skip_single_threaded,
505506 skip_non_native,
506507 skip_libc,
507508 skip_stage1,
ci/drone/linux_script_test+2-2
......@@ -17,11 +17,11 @@ case "$1" in
1717 ;;
1818 3)
1919 # ReleaseSafe
20 ./build/zig build $BUILD_FLAGS test-std -Dskip-debug -Dskip-release-fast -Dskip-release-small -Dskip-non-native
20 ./build/zig build $BUILD_FLAGS test-std -Dskip-debug -Dskip-release-fast -Dskip-release-small -Dskip-non-native -Dskip-single-threaded
2121 ;;
2222 4)
2323 # ReleaseFast
24 ./build/zig build $BUILD_FLAGS test-std -Dskip-debug -Dskip-release-safe -Dskip-release-small -Dskip-non-native
24 ./build/zig build $BUILD_FLAGS test-std -Dskip-debug -Dskip-release-safe -Dskip-release-small -Dskip-non-native -Dskip-single-threaded
2525 ;;
2626 5)
2727 # ReleaseSmall