mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
Appveyor fixes.
This commit is contained in:
parent
8c37df18af
commit
97cefc73eb
2 changed files with 8 additions and 4 deletions
|
|
@ -51,9 +51,9 @@ namespace Cosmos.TestRunner.UnitTest
|
|||
{
|
||||
throw;
|
||||
}
|
||||
catch(Exception E)
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine("Exception occurred: " + E.ToString());
|
||||
Console.WriteLine("Exception occurred: " + e.ToString());
|
||||
Assert.Fail();
|
||||
}
|
||||
}
|
||||
|
|
@ -62,7 +62,8 @@ namespace Cosmos.TestRunner.UnitTest
|
|||
{
|
||||
protected override void Log(string message)
|
||||
{
|
||||
TestContext.WriteLine(String.Concat(DateTime.Now.ToString("hh:mm:ss.ffffff "), new String(' ', mLogLevel * 2), message));
|
||||
// NUnit Issue: https://github.com/nunit/nunit/issues/1952
|
||||
//TestContext.WriteLine(string.Concat(DateTime.Now.ToString("hh:mm:ss.ffffff "), new string(' ', mLogLevel * 2), message));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,12 +50,15 @@ build_script:
|
|||
|
||||
msbuild "Cosmos.sln" /maxcpucount /verbosity:normal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:Platform="Any CPU" /p:Configuration=Debug /p:DeployExtension=false
|
||||
|
||||
test:
|
||||
test: off
|
||||
assemblies:
|
||||
# - Cosmos.Core.Memory.Test.dll
|
||||
# - DebugCompiler.dll
|
||||
- Cosmos.TestRunner.UnitTest.dll
|
||||
|
||||
test_script:
|
||||
- dotnet test Tests\Cosmos.TestRunner.UnitTest
|
||||
|
||||
notifications:
|
||||
- provider: Webhook
|
||||
url: https://webhooks.gitter.im/e/d5c57ffb9a04b1b180be
|
||||
|
|
|
|||
Loading…
Reference in a new issue