Project

General

Profile

Actions

Bug #5077

closed

Unit tests fail if zlib is disabled

Added by Davide Pesavento about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Configure with --with-tests --without-zlib and run the unit tests.

Actions #1

Updated by Davide Pesavento about 4 years ago

../tests/test-full-producer.cpp(38): fatal error: in "TestFullProducer/Constructor": unexpected exception thrown by FullProducer(40, face, Name("/psync"), Name("/testUser"), nullptr)
../PSync/detail/util.cpp(141): fatal error: in "compress": boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<psync::Error> >: ZLIB compression not supported!
../tests/test-full-producer.cpp(41): last checkpoint: "OnInterest" test entry
../PSync/detail/util.cpp(141): fatal error: in "compress": boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<psync::Error> >: ZLIB compression not supported!
../tests/test-full-producer.cpp(54): last checkpoint: "ConstantTimeoutForFirstSegment" test entry
../PSync/detail/util.cpp(141): fatal error: in "compress": boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<psync::Error> >: ZLIB compression not supported!
../tests/test-full-producer.cpp(68): last checkpoint: "OnSyncDataDecodeFailure" test entry
../PSync/detail/util.cpp(141): fatal error: in "compress": boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<psync::Error> >: ZLIB compression not supported!
../tests/test-full-sync.cpp(59): last checkpoint: "TwoNodesSimple" test entry

...and several more similar errors.

Actions #2

Updated by Ashlesh Gawande about 4 years ago

  • Status changed from New to Code review
  • Assignee set to Ashlesh Gawande
  • Target version set to v0.3.0
  • % Done changed from 0 to 100

Thanks. Did not get the notification for this issue (or any other redmine issue) before the release because email filter was marking all as read.

Actions #3

Updated by Ashlesh Gawande about 4 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF