mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 05:17:26 +02:00
Turn off warnings for building zlib in the unit tests
This commit is contained in:
committed by
Mohammad Nejati
parent
54ad4ba714
commit
c5679e40da
12
test/Jamfile
12
test/Jamfile
@ -30,7 +30,6 @@ project /boost/beast/test
|
|||||||
cxx11_template_aliases
|
cxx11_template_aliases
|
||||||
cxx11_variadic_templates
|
cxx11_variadic_templates
|
||||||
]
|
]
|
||||||
<include>./extern
|
|
||||||
<define>BOOST_BEAST_TESTS
|
<define>BOOST_BEAST_TESTS
|
||||||
<target-os>darwin:<define>Z_HAVE_UNISTD_H=1
|
<target-os>darwin:<define>Z_HAVE_UNISTD_H=1
|
||||||
<library>/boost/beast//lib-asio/<link>static
|
<library>/boost/beast//lib-asio/<link>static
|
||||||
@ -41,15 +40,11 @@ project /boost/beast/test
|
|||||||
<address-sanitizer>norecover:<define>BOOST_USE_ASAN=1
|
<address-sanitizer>norecover:<define>BOOST_USE_ASAN=1
|
||||||
;
|
;
|
||||||
|
|
||||||
path-constant ZLIB_SOURCES :
|
lib lib-zlib :
|
||||||
extern/zlib-1.2.12/adler32.c
|
extern/zlib-1.2.12/adler32.c
|
||||||
extern/zlib-1.2.12/compress.c
|
extern/zlib-1.2.12/compress.c
|
||||||
extern/zlib-1.2.12/crc32.c
|
extern/zlib-1.2.12/crc32.c
|
||||||
extern/zlib-1.2.12/deflate.c
|
extern/zlib-1.2.12/deflate.c
|
||||||
#extern/zlib-1.2.12/gzclose.c
|
|
||||||
#extern/zlib-1.2.12/gzlib.c
|
|
||||||
#extern/zlib-1.2.12/gzread.c
|
|
||||||
#extern/zlib-1.2.12/gzwrite.c
|
|
||||||
extern/zlib-1.2.12/infback.c
|
extern/zlib-1.2.12/infback.c
|
||||||
extern/zlib-1.2.12/inffast.c
|
extern/zlib-1.2.12/inffast.c
|
||||||
extern/zlib-1.2.12/inflate.c
|
extern/zlib-1.2.12/inflate.c
|
||||||
@ -57,6 +52,11 @@ path-constant ZLIB_SOURCES :
|
|||||||
extern/zlib-1.2.12/trees.c
|
extern/zlib-1.2.12/trees.c
|
||||||
extern/zlib-1.2.12/uncompr.c
|
extern/zlib-1.2.12/uncompr.c
|
||||||
extern/zlib-1.2.12/zutil.c
|
extern/zlib-1.2.12/zutil.c
|
||||||
|
: requirements
|
||||||
|
<warnings>off
|
||||||
|
<link>static
|
||||||
|
: usage-requirements
|
||||||
|
<include>./extern
|
||||||
;
|
;
|
||||||
|
|
||||||
alias run-tests :
|
alias run-tests :
|
||||||
|
@ -19,25 +19,24 @@ local RUN_TESTS ;
|
|||||||
for local f in $(SOURCES)
|
for local f in $(SOURCES)
|
||||||
{
|
{
|
||||||
RUN_TESTS += [ run $(f)
|
RUN_TESTS += [ run $(f)
|
||||||
$(ZLIB_SOURCES)
|
/boost/beast/test//lib-zlib
|
||||||
/boost/beast/test//lib-test
|
/boost/beast/test//lib-test
|
||||||
] ;
|
] ;
|
||||||
}
|
}
|
||||||
|
|
||||||
alias run-tests : $(RUN_TESTS) ;
|
alias run-tests : $(RUN_TESTS) ;
|
||||||
|
|
||||||
exe fat-tests
|
exe fat-tests :
|
||||||
:
|
|
||||||
$(ZLIB_SOURCES)
|
|
||||||
$(SOURCES)
|
$(SOURCES)
|
||||||
|
/boost/beast/test//lib-zlib
|
||||||
/boost/beast/test//lib-test
|
/boost/beast/test//lib-test
|
||||||
;
|
;
|
||||||
|
|
||||||
explicit fat-tests ;
|
explicit fat-tests ;
|
||||||
|
|
||||||
run
|
run
|
||||||
$(ZLIB_SOURCES)
|
|
||||||
$(SOURCES)
|
$(SOURCES)
|
||||||
|
/boost/beast/test//lib-zlib
|
||||||
/boost/beast/test//lib-test
|
/boost/beast/test//lib-test
|
||||||
: : : : run-fat-tests ;
|
: : : : run-fat-tests ;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user