mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 08:14:48 +00:00
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.
This commit is contained in:
parent
16896a9d8b
commit
3e8aaee829
@ -93,5 +93,41 @@ comptime {
|
||||
}
|
||||
|
||||
test "" {
|
||||
testing.refAllDecls(@This());
|
||||
if (builtin.os.tag == .windows) {
|
||||
// We only test the Windows-relevant stuff to save memory because the CI
|
||||
// server is hitting OOM. TODO revert this after stage2 arrives.
|
||||
_ = ChildProcess;
|
||||
_ = DynLib;
|
||||
_ = mutex;
|
||||
_ = Mutex;
|
||||
_ = Progress;
|
||||
_ = ResetEvent;
|
||||
_ = SpinLock;
|
||||
_ = StaticResetEvent;
|
||||
_ = Target;
|
||||
_ = Thread;
|
||||
|
||||
_ = atomic;
|
||||
_ = build;
|
||||
_ = builtin;
|
||||
_ = debug;
|
||||
_ = event;
|
||||
_ = fs;
|
||||
_ = heap;
|
||||
_ = io;
|
||||
_ = log;
|
||||
_ = macho;
|
||||
_ = net;
|
||||
_ = os;
|
||||
_ = once;
|
||||
_ = pdb;
|
||||
_ = process;
|
||||
_ = testing;
|
||||
_ = time;
|
||||
_ = unicode;
|
||||
_ = zig;
|
||||
_ = start;
|
||||
} else {
|
||||
testing.refAllDecls(@This());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user