|
- # E04-S02: build the software-frame ABI fixture.
- [CmdletBinding()]
- param()
-
- $ErrorActionPreference = "Stop"
- $project = Split-Path $PSScriptRoot -Parent
- Import-Module (Join-Path $PSScriptRoot "lib\Nova128Test.psm1") -Force
-
- $out = Join-Path $project "build\frame-test"
- $link = Invoke-Nova128Link -Name "frame-test" -BuildDir $out `
- -Config (Join-Path $project "cfg\compiler.cfg") -Sources @(
- (Join-Path $project "src\runtime\frames.s"),
- (Join-Path $project "tests\codegen\frame-test.s"))
-
- Write-Host ("built {0}" -f $link.Program)
|