forked from boostorg/beast
Expand CI matrix using Azure Pipelines:
* Allow setting a seed in websocket prng to workaround a valgrind bug in Xenial. * Coverage collection in Azp. * Fixup blacklists to avoid zlib bugs. * Use native b2 features for sanitizers and valgrind. * Expanded Windows build matrix. * Add additional clang (with libc++) builds. Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
9 files changed
+306
-6
No files matched your search
@@ -24,7 +24,7 @@ for local f in $(SOURCES)
|
||||
alias run-tests : $(RUN_TESTS) ;
|
||||
|
||||
exe fat-tests
|
||||
:
|
||||
:
|
||||
$(SOURCES)
|
||||
/boost/beast//lib-asio-ssl
|
||||
/boost/beast/test//lib-test
|
||||
|
||||
@@ -46,7 +46,7 @@ for local f in $(SOURCES)
|
||||
alias run-tests : $(RUN_TESTS) ;
|
||||
|
||||
exe fat-tests
|
||||
:
|
||||
:
|
||||
$(SOURCES)
|
||||
/boost/beast//lib-asio-ssl
|
||||
/boost/beast/test//lib-test
|
||||
|
||||
@@ -17,6 +17,16 @@ namespace beast {
|
||||
namespace websocket {
|
||||
namespace detail {
|
||||
|
||||
#ifdef BOOST_BEAST_TEST_STATIC_PRNG_SEED
|
||||
auto prng_init = []()
|
||||
{
|
||||
// Workaround for https://bugs.launchpad.net/ubuntu/+source/valgrind/+bug/1501545
|
||||
std::seed_seq seq{{0xDEAD, 0xBEEF}};
|
||||
detail::prng_seed(&seq);
|
||||
return 0;
|
||||
}();
|
||||
#endif // BOOST_BEAST_TEST_STATIC_PRNG_SEED
|
||||
|
||||
class prng_test
|
||||
: public beast::unit_test::suite
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user