mirror of
https://github.com/ziglang/zig.git
synced 2024-11-16 00:57:04 +00:00
a2ff3a13fe
Tests with no names are executed when using `zig test` regardless of the `--test-filter` used. Non-named tests should be used when simply importing unit tests from another file. This allows `zig test` to find all the appropriate tests, even when using `--test-filter`.
24 lines
932 B
Zig
24 lines
932 B
Zig
pub const Channel = @import("event/channel.zig").Channel;
|
|
pub const Future = @import("event/future.zig").Future;
|
|
pub const Group = @import("event/group.zig").Group;
|
|
pub const Batch = @import("event/batch.zig").Batch;
|
|
pub const Lock = @import("event/lock.zig").Lock;
|
|
pub const Locked = @import("event/locked.zig").Locked;
|
|
pub const RwLock = @import("event/rwlock.zig").RwLock;
|
|
pub const RwLocked = @import("event/rwlocked.zig").RwLocked;
|
|
pub const Loop = @import("event/loop.zig").Loop;
|
|
pub const WaitGroup = @import("event/wait_group.zig").WaitGroup;
|
|
|
|
test {
|
|
_ = @import("event/channel.zig");
|
|
_ = @import("event/future.zig");
|
|
_ = @import("event/group.zig");
|
|
_ = @import("event/batch.zig");
|
|
_ = @import("event/lock.zig");
|
|
_ = @import("event/locked.zig");
|
|
_ = @import("event/rwlock.zig");
|
|
_ = @import("event/rwlocked.zig");
|
|
_ = @import("event/loop.zig");
|
|
_ = @import("event/wait_group.zig");
|
|
}
|