@@ -92,18 +92,18 @@ export default function suite() {
92
92
} ) ;
93
93
94
94
describe ( "ci bin helper path" , ( ) => {
95
- const testBin = ( platform : string , subdirectory : string , ext : string ) => {
96
- it ( `considers the appropriate rmc bin on ${ platform } ` , ( ) => {
97
- const architecture = "x64" ;
95
+ const testBin = ( platform : string , architecture : string , subdirectory : string , ext : string ) => {
96
+ it ( `considers the appropriate rmc bin on ${ platform } ${ architecture } ` , ( ) => {
98
97
const p = matlab . getRunMATLABCommandScriptPath ( platform , architecture ) ;
99
98
assert ( path . extname ( p ) === ext ) ;
100
99
assert ( p . includes ( subdirectory ) ) ;
101
100
} ) ;
102
101
} ;
103
102
104
- testBin ( "linux" , "glnxa64" , "" ) ;
105
- testBin ( "win32" , "win64" , ".exe" ) ;
106
- testBin ( "darwin" , "maci64" , "" ) ;
103
+ testBin ( "linux" , "x64" , "glnxa64" , "" ) ;
104
+ testBin ( "win32" , "x64" , "win64" , ".exe" ) ;
105
+ testBin ( "darwin" , "x64" , "maci64" , "" ) ;
106
+ testBin ( "darwin" , "arm64" , "maca64" , "" ) ;
107
107
108
108
it ( "errors on unsupported platform" , ( ) => {
109
109
assert . throws ( ( ) => matlab . getRunMATLABCommandScriptPath ( "sunos" , "x64" ) ) ;
0 commit comments