diff options
-rw-r--r-- | t/lei-auto-watch.t | 1 | ||||
-rw-r--r-- | t/lei-watch.t | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/t/lei-auto-watch.t b/t/lei-auto-watch.t index d5661ae5..f871188d 100644 --- a/t/lei-auto-watch.t +++ b/t/lei-auto-watch.t @@ -3,6 +3,7 @@ # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> use strict; use v5.10.1; use PublicInbox::TestCommon; use File::Basename qw(basename); +plan skip_all => "TEST_FLAKY not enabled for $0" if !$ENV{TEST_FLAKY}; my $have_fast_inotify = eval { require Linux::Inotify2 } || eval { require IO::KQueue }; $have_fast_inotify or diff --git a/t/lei-watch.t b/t/lei-watch.t index e6066033..24d9f5c8 100644 --- a/t/lei-watch.t +++ b/t/lei-watch.t @@ -3,6 +3,7 @@ # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> use strict; use v5.10.1; use PublicInbox::TestCommon; use File::Path qw(make_path remove_tree); +plan skip_all => "TEST_FLAKY not enabled for $0" if !$ENV{TEST_FLAKY}; require_mods('lei'); my $have_fast_inotify = eval { require Linux::Inotify2 } || eval { require IO::KQueue }; |