mirror of https://github.com/YosysHQ/yosys.git
Call yosys_shutdown to properly cleanup plugins and tcl when expecting error
This commit is contained in:
parent
611f71c670
commit
200ffdccc5
|
@ -707,6 +707,7 @@ void log_check_expected()
|
||||||
if (item.second.current_count == item.second.expected_count) {
|
if (item.second.current_count == item.second.expected_count) {
|
||||||
log_warn_regexes.clear();
|
log_warn_regexes.clear();
|
||||||
log("Expected error pattern '%s' found !!!\n", item.first.c_str());
|
log("Expected error pattern '%s' found !!!\n", item.first.c_str());
|
||||||
|
yosys_shutdown();
|
||||||
#ifdef EMSCRIPTEN
|
#ifdef EMSCRIPTEN
|
||||||
throw 0;
|
throw 0;
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
|
|
Loading…
Reference in New Issue