Doug Gregor wrote:
That's very bad; CTest should be disabling this dialog, because this is going to happen often. Unless our tests are doing something to re-enable the dialog?
We usually use _CrtSetReportHook: http://msdn.microsoft.com/en-us/library/0yysf5e6(VS.80).aspx in our tests to disable these when running from a dashboard build: if(getenv("DASHBOARD_TEST_FROM_CTEST")) { _CrtSetReportHook(MyReport); } where MyReport is something like static int MyReport(int, char* message, int*) { fprintf(stderr, "%s", message); fflush(stderr); return 1; // no further reporting required } CTest sets the "DASHBOARD_TEST_FROM_CTEST" environment variable when running tests. With this approach you can keep /RTC1 for interactive debugging but avoid the dialog during automated builds. -Brad _______________________________________________ Boost-cmake mailing list Boost-cmake@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-cmake