public static void Main() { Boolean bResult = new Co3967WrapperTests().runTest(); if (!bResult) { Console.WriteLine("Path: " + s_strTFName + s_strTFPath); Console.WriteLine(" "); Console.WriteLine("FAiL! " + s_strTFAbbrev); Console.WriteLine(" "); } if (bResult) { Environment.ExitCode = 0; } else { Environment.ExitCode = 1; } }
public static void Main() { Boolean bResult = new Co3967WrapperTests().runTest(); if (!bResult) { Console.WriteLine ("Path: "+s_strTFName + s_strTFPath); Console.WriteLine( " " ); Console.WriteLine( "FAiL! "+ s_strTFAbbrev); Console.WriteLine( " " ); } if (bResult) Environment.ExitCode=0; else Environment.ExitCode=1; }