mirror of https://github.com/KLayout/klayout.git
Don't crash if no unit test libs are found in the unit test runner.
This commit is contained in:
parent
f5b7a037ad
commit
2084a7e85c
|
|
@ -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> ());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue