Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug-180 PowerShell script BuildTestReleaseMATLAB throws an error #181

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading