public static void RunUnitTest(string assembly)
{
// Run the unit tester.
try
{
new Runner(Google.Build.Tester.Program.BinPath, assembly).Run();
}
catch (ExternalException ex)
{
CommandLine.WriteError(" {0} tests failed.", ex.ErrorCode < 0 ? "Loading" : ex.ErrorCode.ToString());
if (!CommandLine.RequestUserChoice("Do you want to continue anyway?"))
{
throw;
}
}
}