skip lambda test decls under wasi
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m27s

This commit is contained in:
Emil Lerch 2023-10-06 12:09:49 -07:00
parent 668debd29d
commit 5405b9eeff
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -136,7 +136,8 @@ fn processRequest(aa: std.mem.Allocator, server: *std.http.Server, event_handler
test {
std.testing.refAllDecls(@This()); // standalone, standalone web server
std.testing.refAllDecls(@import("lambda.zig")); // lambda
// if (builtin.os.tag == .wasi) return error.SkipZigTest;
if (@import("builtin").os.tag != .wasi) std.testing.refAllDecls(@import("lambda.zig")); // lambda
// TODO: re-enable
// std.testing.refAllDecls(@import("flexilib.zig")); // flexilib
}