File tree 2 files changed +26
-2
lines changed
2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 1
1
# vim:set ft= ts=4 sw=4 et fdm=marker:
2
+
3
+ our $SkipReason ;
4
+
5
+ BEGIN {
6
+ if ($ENV {TEST_NGINX_CHECK_LEAK }) {
7
+ $SkipReason = " unavailable for the hup tests" ;
8
+
9
+ } else {
10
+ undef $ENV {TEST_NGINX_USE_STAP };
11
+ }
12
+ }
13
+
2
14
use lib ' .' ;
3
- use t::TestCore;
15
+ use t::TestCore $SkipReason ? ( skip_all => $SkipReason ) : () ;
4
16
5
17
plan tests => repeat_each() * (blocks() * 4);
6
18
Original file line number Diff line number Diff line change 1
1
# vim:set ft= ts=4 sw=4 et fdm=marker:
2
+
3
+ our $SkipReason ;
4
+
5
+ BEGIN {
6
+ if ($ENV {TEST_NGINX_CHECK_LEAK }) {
7
+ $SkipReason = " unavailable for the hup tests" ;
8
+
9
+ } else {
10
+ undef $ENV {TEST_NGINX_USE_STAP };
11
+ }
12
+ }
13
+
2
14
use lib ' .' ;
3
- use t::TestCore::Stream;
15
+ use t::TestCore::Stream $SkipReason ? ( skip_all => $SkipReason ) : () ;
4
16
5
17
plan tests => repeat_each() * (blocks() * 2 + 1);
6
18
You can’t perform that action at this time.
0 commit comments