Skip to content

Commit

Permalink
Merge pull request #181 from VirtualPhotonics/feature/180-powershell-…
Browse files Browse the repository at this point in the history
…script-buildtestreleasematlab-throws-an-error

Bug-180 PowerShell script BuildTestReleaseMATLAB throws an error
  • Loading branch information
lmalenfant authored Nov 7, 2024
2 parents ca3c14d + ee1195f commit fb5cccf
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 fb5cccf

Please sign in to comment.