Starcounter / Starcounter.ErrorCodes

Errorcodes for all Starcounter versions.
0 stars 0 forks source link

Add TestErrorCodes task #55

Closed Mackiovello closed 6 years ago

Mackiovello commented 6 years ago

Fixes #54

$ dotnet cake --targets=Test

========================================
RestoreErrorCodes
========================================
    Restore completed in 28.47 ms for /home/erlend/Starcounter/Starcounter.ErrorCodes/src/Starcounter.ErrorCodes.Generator/Starcounter.ErrorCodes.Generator.csproj.
  Microsoft (R) Build Engine version 15.8.169+g1ccb72aefa for .NET Core
  Copyright (C) Microsoft Corporation. All rights reserved.

    Restore completed in 29.83 ms for /home/erlend/Starcounter/Starcounter.ErrorCodes/src/Starcounter.ErrorCodes.Generator/Starcounter.ErrorCodes.Generator.csproj.
    Starcounter.ErrorCodes.Generator -> /home/erlend/Starcounter/Starcounter.ErrorCodes/src/Starcounter.ErrorCodes.Generator/bin/Debug/netcoreapp2.0/Starcounter.ErrorCodes.Generator.dll

  Build succeeded.
      0 Warning(s)
      0 Error(s)

  Time Elapsed 00:00:00.82
  Restoring packages for /home/erlend/Starcounter/Starcounter.ErrorCodes/src/Starcounter.ErrorCodes/Starcounter.ErrorCodes.csproj...
  Restore completed in 144.04 ms for /home/erlend/Starcounter/Starcounter.ErrorCodes/src/Starcounter.ErrorCodes/Starcounter.ErrorCodes.csproj.
  Restoring packages for /home/erlend/Starcounter/Starcounter.ErrorCodes/test/Starcounter.ErrorCodes.Tests/Starcounter.ErrorCodes.Tests.csproj...
  Restoring packages for /home/erlend/Starcounter/Starcounter.ErrorCodes/src/Starcounter.ErrorCodes/Starcounter.ErrorCodes.csproj...
  Restore completed in 168.71 ms for /home/erlend/Starcounter/Starcounter.ErrorCodes/src/Starcounter.ErrorCodes/Starcounter.ErrorCodes.csproj.
  Restore completed in 3.31 sec for /home/erlend/Starcounter/Starcounter.ErrorCodes/test/Starcounter.ErrorCodes.Tests/Starcounter.ErrorCodes.Tests.csproj.

========================================
BuildErrorCodesI
========================================
Microsoft (R) Build Engine version 15.8.169+g1ccb72aefa for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Starcounter.ErrorCodes -> /home/erlend/Starcounter/Starcounter.ErrorCodes/src/Starcounter.ErrorCodes/bin/Debug/netstandard1.0/Starcounter.ErrorCodes.dll
  Starcounter.ErrorCodes.Tests -> /home/erlend/Starcounter/Starcounter.ErrorCodes/test/Starcounter.ErrorCodes.Tests/bin/Debug/netcoreapp1.1/Starcounter.ErrorCodes.Tests.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:01.34

========================================
TestErrorCodesI
========================================
Test run for /home/erlend/Starcounter/Starcounter.ErrorCodes/test/Starcounter.ErrorCodes.Tests/bin/Debug/netcoreapp1.1/Starcounter.ErrorCodes.Tests.dll(.NETCoreApp,Version=v1.1)
Microsoft (R) Test Execution Command Line Tool Version 15.8.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
Logging Vstest Diagnostics in file: /home/erlend/Starcounter/Starcounter.ErrorCodes/test/Starcounter.ErrorCodes.Tests/Starcounter.ErrorCodes.Tests.log

Total tests: 8. Passed: 8. Failed: 0. Skipped: 0.
Test Run Successful.
Test execution time: 1.3683 Seconds

========================================
TestErrorCodes
========================================

========================================
Test
========================================

Task                          Duration
--------------------------------------------------
RestoreErrorCodes             00:00:07.1761719
BuildErrorCodesI              00:00:01.6415289
TestErrorCodesI               00:00:02.1172541
--------------------------------------------------
Total:                        00:00:10.9351088

Build: https://teamcity.starcounter.org/viewLog.html?buildId=73910&tab=queuedBuildOverviewTab

Mackiovello commented 6 years ago

Does it have todo with the changes in BuildTarget?

That's possible.

Starting new build: https://teamcity.starcounter.org/viewLog.html?buildId=73939&

Mackiovello commented 6 years ago

That seemed to work! Thanks for catching that the build failed