Skip to content

Commit 6f734f8

Browse files
author
MPCoreDeveloper
committed
Move root test programs and scripts into proper folders
1 parent 6ae95c2 commit 6f734f8

File tree

7 files changed

+9
-7
lines changed

7 files changed

+9
-7
lines changed

run-join-debug.ps1

Lines changed: 0 additions & 2 deletions
This file was deleted.

SingleFileTest.cs renamed to tests/Manual/SingleFileTest/SingleFileTest.cs

File renamed without changes.

SingleFileTest.csproj renamed to tests/Manual/SingleFileTest/SingleFileTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<ItemGroup>
1313
<Compile Include="SingleFileTest.cs" />
14-
<Compile Include="src\SharpCoreDB\Storage\Scdb\ScdbStructures.cs" />
14+
<Compile Include="..\..\..\src\SharpCoreDB\Storage\Scdb\ScdbStructures.cs" />
1515
</ItemGroup>
1616

1717
</Project>

tools/scripts/run-join-debug.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
$repoRoot = Resolve-Path (Join-Path $PSScriptRoot "..\..")
2+
Write-Host "Running JOIN validation with debug output..." -ForegroundColor Cyan
3+
dotnet run --project (Join-Path $repoRoot "tests\SharpCoreDB.DemoJoinsSubQ") 2>&1 | Select-String -Pattern "(JOIN-DEBUG|WHERE-DEBUG|Validating|Returned|FAIL|All rows:)" -Context 0,2
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env pwsh
22

3+
$repoRoot = Resolve-Path (Join-Path $PSScriptRoot "..\..")
4+
$benchmarkDir = Join-Path $repoRoot "tests/SharpCoreDB.Benchmarks"
5+
$outputDir = Join-Path $repoRoot "BenchmarkResults_Phase2A"
6+
37
# Phase 2A Optimization Benchmarks Runner
48
# Measures actual performance improvements for all Week 3 optimizations
59

@@ -8,9 +12,6 @@ Write-Host "║ PHASE 2A OPTIMIZATION BENCHMARKS - RUNNING ║"
812
Write-Host "╚════════════════════════════════════════════════════════════╝" -ForegroundColor Cyan
913
Write-Host ""
1014

11-
$benchmarkDir = "tests/SharpCoreDB.Benchmarks"
12-
$outputDir = "BenchmarkResults_Phase2A"
13-
1415
# Create output directory
1516
if (!(Test-Path $outputDir)) {
1617
New-Item -ItemType Directory -Path $outputDir | Out-Null
@@ -84,4 +85,4 @@ Write-Host ""
8485
Write-Host "✅ Phase 2A benchmarks complete!" -ForegroundColor Green
8586
Write-Host ""
8687

87-
cd ../..
88+
cd $repoRoot

0 commit comments

Comments
 (0)