diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-02-06 14:32:20 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-02-06 14:32:20 -0500 |
| commit | d2602b442e7cdea2e74584f9529917d7a53625fd (patch) | |
| tree | 656d2949eae12721fd33479ae49fc5bf0bd76e4d /test | |
| parent | b1775ca168e0bcfba6753346c5226881da49c6c4 (diff) | |
| download | zig-d2602b442e7cdea2e74584f9529917d7a53625fd.tar.gz zig-d2602b442e7cdea2e74584f9529917d7a53625fd.zip | |
require running std lib tests coherently
this should actually improve CI times a bit too
See the description at the top of std/os/startup.zig (deleted in this
commit) for a more detailed understanding of what this commit does.
Diffstat (limited to 'test')
| -rw-r--r-- | test/tests.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/tests.zig b/test/tests.zig index 548496fa2f..fc188f5550 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -194,6 +194,9 @@ pub fn addPkgTests(b: *build.Builder, test_filter: ?[]const u8, root_src: []cons if (link_libc) { these_tests.linkSystemLibrary("c"); } + if (mem.eql(u8, name, "std")) { + these_tests.overrideStdDir("std"); + } step.dependOn(&these_tests.step); } } |
