skip tests that fail in ReleaseSafe
Some checks failed
Generic zig build / build (push) Failing after 1m39s

This commit is contained in:
Emil Lerch 2025-04-10 18:11:55 -07:00
parent fa05e06236
commit 85bc4e1286
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -1,3 +1,4 @@
const builtin = @import("builtin");
const std = @import("std"); const std = @import("std");
const mvzr = @import("mvzr"); const mvzr = @import("mvzr");
const zeit = @import("zeit"); const zeit = @import("zeit");
@ -355,6 +356,9 @@ test "command variable expansion" {
} }
test "watcher pattern matching" { test "watcher pattern matching" {
// https://github.com/mnemnion/mvzr/issues/7
if (builtin.mode != .Debug)
return error.SkipZigTest;
var watcher = Watcher{ var watcher = Watcher{
.folder = "photos", .folder = "photos",
.path_pattern = ".*\\.jpe?g$", .path_pattern = ".*\\.jpe?g$",
@ -388,6 +392,9 @@ test "watcher pattern matching" {
} }
test "end to end config / event" { test "end to end config / event" {
// https://github.com/mnemnion/mvzr/issues/7
if (builtin.mode != .Debug)
return error.SkipZigTest;
const config_json = const config_json =
\\{ \\{
\\ "syncthing_url": "http://test:8384", \\ "syncthing_url": "http://test:8384",