Don't crash if no unit test libs are found in the unit test runner.

This commit is contained in:
Matthias Koefferlein 2017-12-31 09:52:54 -08:00
parent f5b7a037ad
commit 2084a7e85c
1 changed files with 4 additions and 0 deletions

View File

@ -365,6 +365,10 @@ main_cont (int argc, char **argv)
}
if (! tl::TestRegistrar::instance()) {
throw tl::Exception ("No test libraries found - make sure, the *.ut files are next to the ut_runner executable.");
}
// No side effects
lay::set_klayout_path (std::vector<std::string> ());