|
18 | 18 |
|
19 | 19 | Describe 3 - Get-CompilerBinFolder: |
20 | 20 | Returns bin64 for 64-bit compiler names; bin for all others. |
| 21 | + Returns bin64 for dccarm64ec. |
21 | 22 |
|
22 | 23 | Describe 4 - Get-CompilerPath: |
23 | 24 | Produces the correct full path for Win32 (bin\dcc32.exe). |
24 | 25 | Produces the correct full path for Win64 (bin64\dcc64.exe). |
| 26 | + Produces the correct full path for WinARM64EC (bin64\dccarm64ec.exe). |
25 | 27 | Produces the correct full path for Android32 (bin\dccaarm.exe). |
26 | 28 |
|
27 | 29 | Describe 5 - Get-RsvarsPath: |
@@ -124,6 +126,10 @@ Describe 'Get-CompilerName' { |
124 | 126 | Get-CompilerName -Platform 'Win64' | Should -Be 'dcc64' |
125 | 127 | } |
126 | 128 |
|
| 129 | + It 'returns dccarm64ec for WinARM64EC' { |
| 130 | + Get-CompilerName -Platform 'WinARM64EC' | Should -Be 'dccarm64ec' |
| 131 | + } |
| 132 | + |
127 | 133 | It 'returns dccosx for macOS32' { |
128 | 134 | Get-CompilerName -Platform 'macOS32' | Should -Be 'dccosx' |
129 | 135 | } |
@@ -165,6 +171,10 @@ Describe 'Get-CompilerBinFolder' { |
165 | 171 | Get-CompilerBinFolder -CompilerName 'dcc64' | Should -Be 'bin64' |
166 | 172 | } |
167 | 173 |
|
| 174 | + It 'returns bin64 for dccarm64ec' { |
| 175 | + Get-CompilerBinFolder -CompilerName 'dccarm64ec' | Should -Be 'bin64' |
| 176 | + } |
| 177 | + |
168 | 178 | It 'returns bin for dccosx (macOS32)' { |
169 | 179 | Get-CompilerBinFolder -CompilerName 'dccosx' | Should -Be 'bin' |
170 | 180 | } |
@@ -210,6 +220,12 @@ Describe 'Get-CompilerPath' { |
210 | 220 | $result | Should -Be ([System.IO.Path]::Combine($root, 'bin64', 'dcc64.exe')) |
211 | 221 | } |
212 | 222 |
|
| 223 | + It 'produces bin64/dccarm64ec.exe for WinARM64EC' { |
| 224 | + $root = [System.IO.Path]::Combine([System.IO.Path]::GetTempPath(), 'fake-delphi', '23.0') |
| 225 | + $result = Get-CompilerPath -RootDir $root -Platform 'WinARM64EC' |
| 226 | + $result | Should -Be ([System.IO.Path]::Combine($root, 'bin64', 'dccarm64ec.exe')) |
| 227 | + } |
| 228 | + |
213 | 229 | It 'produces bin/dccaarm.exe for Android32' { |
214 | 230 | $root = [System.IO.Path]::Combine([System.IO.Path]::GetTempPath(), 'fake-delphi', '23.0') |
215 | 231 | $result = Get-CompilerPath -RootDir $root -Platform 'Android32' |
|
0 commit comments