| ... | ... | @@ -402,47 +402,45 @@ pub fn build(b: *std.Build) !void { |
| 402 | 402 | const do_fmt_step = b.step("fmt", "Modify source files in place to have conforming formatting"); |
| 403 | 403 | do_fmt_step.dependOn(&do_fmt.step); |
| 404 | 404 | |
| 405 | | test_step.dependOn(tests.addPkgTests( |
| 406 | | b, |
| 407 | | test_filter, |
| 408 | | "test/behavior.zig", |
| 409 | | "behavior", |
| 410 | | "Run the behavior tests", |
| 411 | | optimization_modes, |
| 412 | | skip_single_threaded, |
| 413 | | skip_non_native, |
| 414 | | skip_libc, |
| 415 | | skip_stage1, |
| 416 | | skip_stage2_tests, |
| 417 | | )); |
| 418 | | |
| 419 | | test_step.dependOn(tests.addPkgTests( |
| 420 | | b, |
| 421 | | test_filter, |
| 422 | | "lib/compiler_rt.zig", |
| 423 | | "compiler-rt", |
| 424 | | "Run the compiler_rt tests", |
| 425 | | optimization_modes, |
| 426 | | true, // skip_single_threaded |
| 427 | | skip_non_native, |
| 428 | | true, // skip_libc |
| 429 | | skip_stage1, |
| 430 | | skip_stage2_tests or true, // TODO get these all passing |
| 431 | | )); |
| 432 | | |
| 433 | | test_step.dependOn(tests.addPkgTests( |
| 434 | | b, |
| 435 | | test_filter, |
| 436 | | "lib/c.zig", |
| 437 | | "universal-libc", |
| 438 | | "Run the universal libc tests", |
| 439 | | optimization_modes, |
| 440 | | true, // skip_single_threaded |
| 441 | | skip_non_native, |
| 442 | | true, // skip_libc |
| 443 | | skip_stage1, |
| 444 | | skip_stage2_tests or true, // TODO get these all passing |
| 445 | | )); |
| 405 | test_step.dependOn(tests.addModuleTests(b, .{ |
| 406 | .test_filter = test_filter, |
| 407 | .root_src = "test/behavior.zig", |
| 408 | .name = "behavior", |
| 409 | .desc = "Run the behavior tests", |
| 410 | .optimize_modes = optimization_modes, |
| 411 | .skip_single_threaded = skip_single_threaded, |
| 412 | .skip_non_native = skip_non_native, |
| 413 | .skip_libc = skip_libc, |
| 414 | .skip_stage1 = skip_stage1, |
| 415 | .skip_stage2 = skip_stage2_tests, |
| 416 | .max_rss = 1 * 1024 * 1024 * 1024, |
| 417 | })); |
| 418 | |
| 419 | test_step.dependOn(tests.addModuleTests(b, .{ |
| 420 | .test_filter = test_filter, |
| 421 | .root_src = "lib/compiler_rt.zig", |
| 422 | .name = "compiler-rt", |
| 423 | .desc = "Run the compiler_rt tests", |
| 424 | .optimize_modes = optimization_modes, |
| 425 | .skip_single_threaded = true, |
| 426 | .skip_non_native = skip_non_native, |
| 427 | .skip_libc = true, |
| 428 | .skip_stage1 = skip_stage1, |
| 429 | .skip_stage2 = true, // TODO get all these passing |
| 430 | })); |
| 431 | |
| 432 | test_step.dependOn(tests.addModuleTests(b, .{ |
| 433 | .test_filter = test_filter, |
| 434 | .root_src = "lib/c.zig", |
| 435 | .name = "universal-libc", |
| 436 | .desc = "Run the universal libc tests", |
| 437 | .optimize_modes = optimization_modes, |
| 438 | .skip_single_threaded = true, |
| 439 | .skip_non_native = skip_non_native, |
| 440 | .skip_libc = true, |
| 441 | .skip_stage1 = skip_stage1, |
| 442 | .skip_stage2 = true, // TODO get all these passing |
| 443 | })); |
| 446 | 444 | |
| 447 | 445 | test_step.dependOn(tests.addCompareOutputTests(b, test_filter, optimization_modes)); |
| 448 | 446 | test_step.dependOn(tests.addStandaloneTests( |
| ... | ... | @@ -472,19 +470,19 @@ pub fn build(b: *std.Build) !void { |
| 472 | 470 | // tests for this feature are disabled until we have the self-hosted compiler available |
| 473 | 471 | // test_step.dependOn(tests.addGenHTests(b, test_filter)); |
| 474 | 472 | |
| 475 | | test_step.dependOn(tests.addPkgTests( |
| 476 | | b, |
| 477 | | test_filter, |
| 478 | | "lib/std/std.zig", |
| 479 | | "std", |
| 480 | | "Run the standard library tests", |
| 481 | | optimization_modes, |
| 482 | | skip_single_threaded, |
| 483 | | skip_non_native, |
| 484 | | skip_libc, |
| 485 | | skip_stage1, |
| 486 | | true, // TODO get these all passing |
| 487 | | )); |
| 473 | test_step.dependOn(tests.addModuleTests(b, .{ |
| 474 | .test_filter = test_filter, |
| 475 | .root_src = "lib/std/std.zig", |
| 476 | .name = "std", |
| 477 | .desc = "Run the standard library tests", |
| 478 | .optimize_modes = optimization_modes, |
| 479 | .skip_single_threaded = skip_single_threaded, |
| 480 | .skip_non_native = skip_non_native, |
| 481 | .skip_libc = skip_libc, |
| 482 | .skip_stage1 = skip_stage1, |
| 483 | .skip_stage2 = true, // TODO get all these passing |
| 484 | .max_rss = 3 * 1024 * 1024 * 1024, |
| 485 | })); |
| 488 | 486 | |
| 489 | 487 | try addWasiUpdateStep(b, version); |
| 490 | 488 | } |