diff --git a/cmake/FindTCL.cmake b/cmake/FindTCL.cmake index 46d61f33..a60405d5 100644 --- a/cmake/FindTCL.cmake +++ b/cmake/FindTCL.cmake @@ -31,7 +31,7 @@ set(TCL_POSSIBLE_NAMES # tcl lib path guesses. if (NOT TCL_LIB_PATHS) if (CMAKE_SYSTEM_NAME STREQUAL "Darwin") - set(TCL_LIB_PATHS /opt/homebrew/Cellar/tcl-tk@8/8.6.16/lib /opt/homebrew/opt/tcl-tk/lib /usr/local/lib) + set(TCL_LIB_PATHS /opt/homebrew/Cellar/tcl-tk@8/8.6.16/lib /opt/homebrew/opt/tcl-tk@8/lib /usr/local/lib) set(TCL_NO_DEFAULT_PATH TRUE) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux") set(TCL_LIB_PATHS /usr/lib /usr/lib64 /usr/local/lib) diff --git a/test/regression_vars.tcl b/test/regression_vars.tcl index bdc837cd..3861d3b6 100644 --- a/test/regression_vars.tcl +++ b/test/regression_vars.tcl @@ -134,9 +134,8 @@ record_sta_tests { get_noargs get_objrefs get_lib_pins_of_objects - write_timing_model_scalar report_checks_src_attr - report_checks_json + write_timing_model_scalar liberty_latch3 } diff --git a/util/Report.cc b/util/Report.cc index 3b203ad6..8e8f8417 100644 --- a/util/Report.cc +++ b/util/Report.cc @@ -19,6 +19,7 @@ #include // min #include // exit #include // strlen +#include // signal #include "Machine.hh" #include "Error.hh" @@ -299,7 +300,7 @@ Report::fileCritical(int /* id */, printToBufferAppend(fmt, args); printBufferLine(); va_end(args); - exit(1); + raise(SIGABRT); } //////////////////////////////////////////////////////////////// diff --git a/util/StringUtil.cc b/util/StringUtil.cc index 685ae389..a6e4714a 100644 --- a/util/StringUtil.cc +++ b/util/StringUtil.cc @@ -20,6 +20,7 @@ #include #include #include // exit +#include // signal #include #include @@ -217,7 +218,7 @@ stringDeleteCheck(const char *str) { if (isTmpString(str)) { printf("Critical error: stringDelete for tmp string."); - exit(1); + raise(SIGABRT); } }