Home Patches

Improvements to unit tests (fix in encoding and FreeBSD support)

grembogrembo Member Michael GmelinOrganization: Grem Equity GmbHProject: E-Commerce platform
Please find attached a patch that brings a couple of improvements to Ice's unit tests:
  • fix an encoding problem in unicode tests (on systems with default ascii encoding this test failed)
  • add detection of FreeBSD to test suite (python and C++)
  • add detection of FreeBSD Jails to test suite (python and C++), since some unit tests won't work within a jailed environment
  • use detection mechanisms to disable tests depending on the FreeBSD/FreeBSDJail status (new config tags "nofreebsd" and "nofreebsdjail")
  • minor fixes to two unit tests that wouldn't compile without warnings on a strict compiler

Cheers,
Michael

Comments

Sign In or Register to comment.