stacktrace, exec amd sys/mman.h are not available in windows

This commit is contained in:
Marc Wäckerlin
2017-04-05 10:50:42 +00:00
parent c901c00ba1
commit df16c058fd
4 changed files with 14 additions and 5 deletions

View File

@@ -72,6 +72,7 @@ namespace mrw {
exit_catchUnexpected = true;
}
void testcase() {
std::set_unexpected([]{throw std::bad_exception();});
catchUnexpected();
CPPUNIT_ASSERT(enter_catchUnexpected &&
enter_passUnexpected &&

View File

@@ -71,6 +71,7 @@ namespace mrw {
exit_catchUnexpected = true;
}
void testcase() {
std::set_unexpected([]{throw std::bad_exception();});
catchUnexpected();
CPPUNIT_ASSERT(enter_catchUnexpected &&
enter_passUnexpected &&