Test suite for the NipsVM front-end.
2008-06-02 Guillaume SADEGH <sadegh@lrde.epita.fr>
* iface/nips/nipstest/Makefile.am, iface/nips/Makefile.am,
configure.ac, iface/nips/nipstest/emptiness.test,
iface/nips/nipstest/dotty.test: Test suite for the NipsVM
front-end.
* iface/nips/emptiness_check.cc, iface/nips/dottynips.cc:
`catch'
don't throw anymore an exception, but exit with 1.
* iface/nips/common.cc, iface/nips/nips.cc (nips_interface):
Change messages of nips_exception.
This commit is contained in:
parent
f56721107b
commit
a33c1894c3
7 changed files with 26 additions and 10 deletions
|
|
@ -29,9 +29,9 @@ namespace spot
|
|||
operator<<(std::ostream& os, const nips_exception& e)
|
||||
{
|
||||
if (e.get_err_defined())
|
||||
os << e.get_where() << " exited with " << e.get_err();
|
||||
os << e.get_where() << " with exit value: " << e.get_err();
|
||||
else
|
||||
os << e.get_where() << " with no exit value";
|
||||
os << e.get_where();
|
||||
|
||||
return os;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue