Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


MFCTestRunner in command line returns immedia

Phil Pell
  • Phil Pell
    Phil Pell

    So when I run the mfc test runner in command line mode:

    C:\> UnitTest.exe /xml results.xml

    I get the prompt back immediately, but I notice that the process is still running (task manager), and that results.xml is not complete until the tests are complete, but there's no way to tell when that is until you see it disappear from task manager.  It would be nice if there was a way to make that call synchronous (i.e. don't return the command prompt until complete with all tests; whether they passed or not).

    It behaves this way in the debugger (even if I put the same command line arguments there).