File tree 2 files changed +27
-7
lines changed
2 files changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,12 @@ os: linux
5
5
6
6
language : c
7
7
8
- env :
9
- globals :
10
- - TEST_NGINX_BINARY=openresty
11
-
12
8
addons :
13
9
apt :
14
10
packages :
15
11
- cpanminus
16
12
- luarocks
13
+ - valgrind
17
14
18
15
before_install :
19
16
- sudo luarocks install luacheck
@@ -25,9 +22,10 @@ install:
25
22
- sudo apt-get -y install software-properties-common
26
23
- sudo add-apt-repository -y "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main"
27
24
- sudo apt-get update
28
- - sudo apt-get install -y --no-install-recommends openresty
25
+ - sudo apt-get install -y --no-install-recommends openresty-valgrind openresty-valgrind-dbgsym
29
26
30
27
script :
31
- - export PATH=$PATH:/usr/local/openresty/nginx/sbin
32
- - openresty -V
28
+ - export PATH=$PATH:/usr/local/openresty-valgrind /nginx/sbin
29
+ - nginx -V
33
30
- make test
31
+ - TEST_NGINX_USE_VALGRIND=1 TEST_USE_HUP=1 TEST_NGINX_SLEEP=1 prove -r t
Original file line number Diff line number Diff line change
1
+ {
2
+ <insert_a_suppression_name_here>
3
+ Memcheck:Leak
4
+ match-leak-kinds: definite
5
+ fun:malloc
6
+ fun:ngx_alloc
7
+ fun:ngx_set_environment
8
+ }
9
+ {
10
+ <insert_a_suppression_name_here>
11
+ Memcheck:Leak
12
+ match-leak-kinds: definite
13
+ fun:malloc
14
+ fun:ngx_alloc
15
+ fun:ngx_event_process_init
16
+ }
17
+ {
18
+ <insert_a_suppression_name_here>
19
+ Memcheck:Param
20
+ epoll_ctl(event)
21
+ fun:epoll_ctl
22
+ }
You can’t perform that action at this time.
0 commit comments