|
|
От: |
sergey2b
|
|
| Дата: | 29.11.25 02:22 | ||
| Оценка: | |||
Google Test (GTest)
does not officially support dynamic loading of tests within shared libraries (DLLs) using functions like LoadLibrary(). The problem arises because GTest uses static variables to register tests when the library is loaded, and attempting to unload and reload libraries or running the cleanup code after a library has been unloaded can cause a crash.
|
|
От: | tapatoon | |
| Дата: | 29.11.25 06:35 | ||
| Оценка: | |||
S>Google Test (GTest)
S>does not officially support dynamic loading of tests within shared libraries (DLLs) using functions like LoadLibrary(). The problem arises because GTest uses static variables to register tests when the library is loaded, and attempting to unload and reload libraries or running the cleanup code after a library has been unloaded can cause a crash.