Skip to content
Snippets Groups Projects
Commit e39f85e0 authored by Brad King's avatar Brad King
Browse files

SystemTools: Activate EnableMSVCDebugHook under CTest

Honor the DASHBOARD_TEST_FROM_CTEST environment variable as
well as DART_TEST_FROM_DART.

Change-Id: I8b57f3d50e887dfc96820684f6706336a14d96bd
parent beef6819
No related branches found
No related tags found
No related merge requests found
......@@ -4869,7 +4869,8 @@ static int SystemToolsDebugReport(int, char* message, int*)
void SystemTools::EnableMSVCDebugHook()
{
if (getenv("DART_TEST_FROM_DART"))
if (getenv("DART_TEST_FROM_DART") ||
getenv("DASHBOARD_TEST_FROM_CTEST"))
{
_CrtSetReportHook(SystemToolsDebugReport);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment