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 {...@@ -54,6 +54,7 @@ pub fn build(b: *Builder) !void {
54 const skip_release_safe = b.option(bool, "skip-release-safe", "Main test suite skips release-safe builds") orelse skip_release;54 const skip_release_safe = b.option(bool, "skip-release-safe", "Main test suite skips release-safe builds") orelse skip_release;
55 const skip_non_native = b.option(bool, "skip-non-native", "Main test suite skips non-native builds") orelse false;55 const skip_non_native = b.option(bool, "skip-non-native", "Main test suite skips non-native builds") orelse false;
56 const skip_libc = b.option(bool, "skip-libc", "Main test suite skips tests that link libc") orelse false;56 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;
57 const skip_stage1 = b.option(bool, "skip-stage1", "Main test suite skips stage1 compile error tests") orelse false;58 const skip_stage1 = b.option(bool, "skip-stage1", "Main test suite skips stage1 compile error tests") orelse false;
58 const skip_run_translated_c = b.option(bool, "skip-run-translated-c", "Main test suite skips run-translated-c tests") orelse false;59 const skip_run_translated_c = b.option(bool, "skip-run-translated-c", "Main test suite skips run-translated-c tests") orelse false;
59 const skip_stage2_tests = b.option(bool, "skip-stage2-tests", "Main test suite skips self-hosted compiler tests") orelse false;60 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 {...@@ -444,7 +445,7 @@ pub fn build(b: *Builder) !void {
444 "behavior",445 "behavior",
445 "Run the behavior tests",446 "Run the behavior tests",
446 modes,447 modes,
447 false, // skip_single_threaded448 skip_single_threaded,
448 skip_non_native,449 skip_non_native,
449 skip_libc,450 skip_libc,
450 skip_stage1,451 skip_stage1,
...@@ -501,7 +502,7 @@ pub fn build(b: *Builder) !void {...@@ -501,7 +502,7 @@ pub fn build(b: *Builder) !void {
501 "std",502 "std",
502 "Run the standard library tests",503 "Run the standard library tests",
503 modes,504 modes,
504 false,505 skip_single_threaded,
505 skip_non_native,506 skip_non_native,
506 skip_libc,507 skip_libc,
507 skip_stage1,508 skip_stage1,
ci/drone/linux_script_test+2-2
...@@ -17,11 +17,11 @@ case "$1" in...@@ -17,11 +17,11 @@ case "$1" in
17 ;;17 ;;
18 3)18 3)
19 # ReleaseSafe19 # ReleaseSafe
20 ./build/zig build $BUILD_FLAGS test-std -Dskip-debug -Dskip-release-fast -Dskip-release-small -Dskip-non-native20 ./build/zig build $BUILD_FLAGS test-std -Dskip-debug -Dskip-release-fast -Dskip-release-small -Dskip-non-native -Dskip-single-threaded
21 ;;21 ;;
22 4)22 4)
23 # ReleaseFast23 # ReleaseFast
24 ./build/zig build $BUILD_FLAGS test-std -Dskip-debug -Dskip-release-safe -Dskip-release-small -Dskip-non-native24 ./build/zig build $BUILD_FLAGS test-std -Dskip-debug -Dskip-release-safe -Dskip-release-small -Dskip-non-native -Dskip-single-threaded
25 ;;25 ;;
26 5)26 5)
27 # ReleaseSmall27 # ReleaseSmall