authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-01-04 22:25:04-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-01-04 22:25:04-07:00
log3e8aaee829584f4893cad5c524076d2300f45f24
tree8bc7d4bb1d15c57bb69fc86192bfb35e937c6ac7
parent16896a9d8b4015ebebd36ee558d49446a756b3f5

std: skip more tests on Windows to save CI memory

I've enabled only the tests that check things specific to Windows that are not tested by other systems.

1 files changed, 37 insertions(+), 1 deletions(-)

lib/std/std.zig+37-1
......@@ -93,5 +93,41 @@ comptime {
9393}
9494
9595test "" {
96 testing.refAllDecls(@This());
96 if (builtin.os.tag == .windows) {
97 // We only test the Windows-relevant stuff to save memory because the CI
98 // server is hitting OOM. TODO revert this after stage2 arrives.
99 _ = ChildProcess;
100 _ = DynLib;
101 _ = mutex;
102 _ = Mutex;
103 _ = Progress;
104 _ = ResetEvent;
105 _ = SpinLock;
106 _ = StaticResetEvent;
107 _ = Target;
108 _ = Thread;
109
110 _ = atomic;
111 _ = build;
112 _ = builtin;
113 _ = debug;
114 _ = event;
115 _ = fs;
116 _ = heap;
117 _ = io;
118 _ = log;
119 _ = macho;
120 _ = net;
121 _ = os;
122 _ = once;
123 _ = pdb;
124 _ = process;
125 _ = testing;
126 _ = time;
127 _ = unicode;
128 _ = zig;
129 _ = start;
130 } else {
131 testing.refAllDecls(@This());
132 }
97133}