tst: winfsp-tests: WINFSP_TESTS_EXCEPTION_FILTER_DISABLE

This commit is contained in:
Bill Zissimopoulos 2020-10-28 09:41:48 -07:00
parent f0fd53e3f3
commit 4578414a2c
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -252,7 +252,9 @@ int main(int argc, char *argv[])
atexit(exiting);
signal(SIGABRT, abort_handler);
SetUnhandledExceptionFilter(UnhandledExceptionHandler);
#pragma warning(suppress: 4996)
if (0 == getenv("WINFSP_TESTS_EXCEPTION_FILTER_DISABLE"))
SetUnhandledExceptionFilter(UnhandledExceptionHandler);
for (int argi = 1; argc > argi; argi++)
{