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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user