Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 0 additions & 23 deletions Build/BuildScripts/CodeJam.PerfTests.AppVeyor.MsTest.Tests.ps1

This file was deleted.

21 changes: 2 additions & 19 deletions Build/BuildScripts/CodeJam.PerfTests.AppVeyor.NUnit.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
$include = "*.Tests.dll", "*.Tests.NUnit.dll"
$includePerfTests = "*.Tests.Performance.dll"
$exclude = "Experimental\\.*?\\CodeJam.Tests.Performance.dll"

mkdir "$env:APPVEYOR_BUILD_FOLDER\_Results" -ErrorAction SilentlyContinue

Expand All @@ -11,7 +9,7 @@ foreach ($target in $targetsDotNet) {
#run .net tests
$logFileName = "$env:APPVEYOR_BUILD_FOLDER\_Results\$($target)_nunit_results.xml"
$a = (gci -include $include -r | `
where { $_.fullname -match "\\bin\\Release\\$($target)" -and $_.fullname -notmatch $exclude } | `
where { $_.fullname -match "\\bin\\Release\\$($target)" -and $_.fullname } | `
select -ExpandProperty FullName)
$framework = $target.Substring(0, $target.Length - 2) + "-" + $target.Substring($target.Length - 2, 1) + "." + $target.Substring($target.Length - 1)
echo "nunit3-console $a --result=$logFileName"
Expand All @@ -25,26 +23,11 @@ foreach ($target in $targetsDotNet) {
}
}

#run .net perftests
#$logFileName = "$env:APPVEYOR_BUILD_FOLDER\_Results\net_perftest_nunit_results.xml"
#$a = (gci -include $includePerfTests -r | `
# where { $_.fullname -match "\\bin\\Release\\net\d" -and $_.fullname -notmatch $exclude } | `
# select -ExpandProperty FullName)
#echo "nunit3-console $a --result=$logFileName" --agents=1
#&"nunit3-console" $a "--result=$logFileName" --agents=1
#if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
#echo "UploadFile: https://ci.appveyor.com/api/testresults/nunit3/$env:APPVEYOR_JOB_ID from $logFileName"
#$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit3/$env:APPVEYOR_JOB_ID", "$logFileName")
#if ($LastExitCode -ne 0) {
# echo "FAIL: UploadFile: https://ci.appveyor.com/api/testresults/nunit3/$env:APPVEYOR_JOB_ID from $logFileName"
# $host.SetShouldExit($LastExitCode)
#}

#run .net core tests
$targetsDotNetCore = "netcoreapp2.0","netcoreapp1.1","netcoreapp1.0"
foreach ($target in $targetsDotNetCore) {
$a = (gci -include $include -r | `
where { $_.fullname -match "\\bin\\Release\\$($target)" -and $_.fullname -notmatch $exclude } | `
where { $_.fullname -match "\\bin\\Release\\$($target)" -and $_.fullname } | `
select -ExpandProperty FullName)

$logFileName = "$env:APPVEYOR_BUILD_FOLDER\_Results\$($target)_nunit_results.xml"
Expand Down
22 changes: 0 additions & 22 deletions Build/BuildScripts/CodeJam.PerfTests.AppVeyor.xUnit.Tests.ps1

This file was deleted.

1 change: 0 additions & 1 deletion CodeJam.Main/Arithmetic/Operators.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ namespace CodeJam.Arithmetic
{
/// <summary>
/// Callbacks for common arithmetic actions.
/// Look at OperatorsPerformanceTest to see why.
/// </summary>
/// <typeparam name="T">The type of the operands.</typeparam>
// IMPORTANT: DO NOT declare static .ctor on the type. The class should be marked as beforefieldinit.
Expand Down
2 changes: 0 additions & 2 deletions CodeJam.Main/Arithmetic/Operators.generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#nullable enable


using System;
using System.Linq.Expressions;

Expand All @@ -22,7 +21,6 @@ namespace CodeJam.Arithmetic
{
/// <summary>
/// Callbacks for common arithmetic actions.
/// Look at OperatorsPerformanceTest to see why.
/// </summary>
static partial class Operators<T>
{
Expand Down
1 change: 0 additions & 1 deletion CodeJam.Main/Arithmetic/Operators.tt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace CodeJam.Arithmetic
{
/// <summary>
/// Callbacks for common arithmetic actions.
/// Look at OperatorsPerformanceTest to see why.
/// </summary>
static partial class Operators<T>
{
Expand Down
1 change: 1 addition & 0 deletions CodeJam.Main/CodeJam.Main.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
<Compile Update="Arithmetic\Operators.generated.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Operators.tt</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Update="Arithmetic\Operators.tt">
<Generator>TextTemplatingFileGenerator</Generator>
Expand Down
12 changes: 0 additions & 12 deletions PerfTests[WIP]/CodeJam.Experimental.Tests.Performance/App.config

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading