ltlcross: recover from out-of-memory during state-space product

Fixes #96, reported by Vitus Lam & Christopher Ziegler.

* src/bin/ltlcross.cc: Catch std::bad_alloc, skip those
products and the related tests.  Display a count of
those skipped tests at the end.
* NEWS: Mention it.
* src/tests/ltlcross3.test: Adjust expected error
message.
This commit is contained in:
Alexandre Duret-Lutz 2015-08-24 00:23:51 +02:00
parent 63969b13fa
commit 0510e4dfe8
3 changed files with 125 additions and 77 deletions

2
NEWS
View file

@ -74,6 +74,8 @@ New in spot 1.99.2a (not yet released)
- the spot.translate() function of the Python binding had a typo
preventing the use of 'low'/'medium'/'high' as argument.
- Fix spurious failure of uniq.test under different locales.
- ltlcross now recovers from out-of-memory errors during
state-space products.
New in spot 1.99.2 (2015-07-18)