Finish smoke/ -> tools/ rename: update probe wording and deploy exclude
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ if ($Mode -eq 'Junction') {
|
|||||||
New-Item -ItemType Junction -Path $dst -Target $src | Out-Null
|
New-Item -ItemType Junction -Path $dst -Target $src | Out-Null
|
||||||
Write-Host "junction created: $dst -> $src"
|
Write-Host "junction created: $dst -> $src"
|
||||||
} else {
|
} else {
|
||||||
$exclude = @('.venv', '.git', 'tests', 'smoke', '__pycache__', '.pytest_cache')
|
$exclude = @('.venv', '.git', 'tests', 'tools', '__pycache__', '.pytest_cache')
|
||||||
New-Item -ItemType Directory -Force $dst | Out-Null
|
New-Item -ItemType Directory -Force $dst | Out-Null
|
||||||
Get-ChildItem $src -Force | Where-Object { $exclude -notcontains $_.Name } |
|
Get-ChildItem $src -Force | Where-Object { $exclude -notcontains $_.Name } |
|
||||||
ForEach-Object { Copy-Item $_.FullName -Destination $dst -Recurse -Force }
|
ForEach-Object { Copy-Item $_.FullName -Destination $dst -Recurse -Force }
|
||||||
|
|||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
"""M1 smoke probe: verify the IPC API surface against a live KiCad.
|
"""IPC API probe: verify the kipy API surface against a live KiCad.
|
||||||
|
|
||||||
Run from the dev venv while KiCad is open with the board loaded:
|
Run from the dev venv while KiCad is open with the board loaded:
|
||||||
.venv\\Scripts\\python.exe smoke\\smoke_probe.py
|
.venv\\Scripts\\python.exe tools\\api_probe.py
|
||||||
|
|
||||||
Deliberately uses kipy directly (not board_io) so it works even if
|
Deliberately uses kipy directly (not board_io) so it works even if
|
||||||
board_io has a bug. Prints: version, board path, selection contents,
|
board_io has a bug. Prints: version, board path, selection contents,
|
||||||
@@ -92,7 +92,7 @@ def main():
|
|||||||
except Exception:
|
except Exception:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
|
||||||
print("\nsmoke probe DONE")
|
print("\nAPI probe DONE")
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user