Project

General

Profile

Bug #5077

Unit tests fail if zlib is disabled

Added by Davide Pesavento 8 months ago. Updated 7 months 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.

#1

Updated by Davide Pesavento 8 months 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.

#2

Updated by Ashlesh Gawande 7 months 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.

#3

Updated by Ashlesh Gawande 7 months ago

  • Status changed from Code review to Closed

Also available in: Atom PDF