Skip to content

Commit

Permalink
Fixed the error in the PowerShell script
Browse files Browse the repository at this point in the history
  • Loading branch information
lmalenfant committed Nov 7, 2024
1 parent ca3c14d commit ee1195f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BuildTestReleaseMATLAB.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Remove-Item "$matlabdir/vts_wrapper/vts_libraries" -Recurse -ErrorAction Ignore
Remove-Item "$matlabdir/vts_wrapper/results*" -Recurse -ErrorAction Ignore

Write-Host "Test MATLAB unit tests" -ForegroundColor Green
# RunMATLABUnitTests copies Vts\publish\win-x64 files to matlab/vts_wrapper/vts_libraries
# RunMATLABUnitTests copies Vts\publish\local files to matlab/vts_wrapper/vts_libraries
Write-Host "Run vts_wrapper tests" -ForegroundColor Green
Write-Host "MATLAB not exiting nicely indicates test failure" -ForegroundColor Green
$vtslevel = $PWD
Expand All @@ -23,7 +23,7 @@ Remove-Item $matlablibdir -Recurse -ErrorAction Ignore
New-Item $matlablibdir -ItemType "directory"

# put supporting libraries into vts_libraries folder
$vtslibraries = "$vtslevel\publish\win-x64"
$vtslibraries = "$vtslevel\publish\local"
Copy-Item -Path "$vtslibraries\*" -Destination "$matlablibdir"

matlab -wait -r "vts_tests; quit"
Expand Down

0 comments on commit ee1195f

Please sign in to comment.