Skip to content
Snippets Groups Projects
Commit 7f0a545d authored by M. Hock's avatar M. Hock
Browse files

ported the .sh script to .ps1

parent b360a1c4
Branches
Tags
2 merge requests!13PreRelease_V0.1,!12PreRelease_V0.1
Pipeline #561663 failed
# runtests.ps1
$LOGFILE="log2.txt"
$arguments = "-nodesktop", "-nosplash","-minimize","-wait", "-logfile $LOGFILE","-r","runner_test"
$Returnvalue = & 'C:\Program Files\MATLAB\R2021b\bin\matlab.exe' $arguments
$mfile =
CODE=$?
cat $Returnvalue;
cat $LOGFILE
# It doesnt look as if matlab gives an exitcode upon successfully stopping, and otherwise it just doesnt stop.
# Would need a catch / try in the test script - if it is called correctly.
exit Code
#exit $LASTEXITCODE
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment