8 exitcode_list[0]="Exited Successfully"
9 exitcode_list[130]="SIGINT Ctrl-C occurred. Likely tests timed out."
10 exitcode_list[131]="SIGQUIT Ctrl-\ occurred. Core dumped."
11 exitcode_list[132]="SIGILL Illegal Instruction. Core dumped. Likely codegen issue."
12 exitcode_list[133]="SIGTRAP Breakpoint hit. Core dumped."
13 exitcode_list[134]="SIGABRT Abort. Managed or native assert, or runtime check such as heap corruption, caused call to abort(). Core dumped."
14 exitcode_list[135]="SIGBUS Unaligned memory access. Core dumped."
15 exitcode_list[136]="SIGFPE Bad floating point arguments. Core dumped."
16 exitcode_list[137]="SIGKILL Killed eg by kill"
17 exitcode_list[139]="SIGSEGV Illegal memory access. Deref invalid pointer, overrunning buffer, stack overflow etc. Core dumped."
18 exitcode_list[143]="SIGTERM Terminated. Usually before SIGKILL."
19 exitcode_list[159]="SIGSYS Bad System Call."
21 if [ "$dotnetRunnerPath" == "" ] || [ "$outerloop" == "" ] || [ "$outxml" == "" ] || [ "$tmpDir" == "" ]
23 echo "Usage: $0 dotnetRunner outerloop outxml tmpdir"
31 if [ "$outerloop" == "on" ]
33 outerloopCmd="-trait category=OuterLoop"
35 outerloopCmd="-notrait category=OuterLoop"
38 cmd="$dotnetRunnerPath exec xunit.console.dll COREFX_TEST_NAME.dll -xml $outxml -nologo -notrait category=nonnetcoreapptests -notrait category=nonlinuxtests -notrait category=failing $outerloopCmd -parallel none"
40 echo Start time COREFX_TEST_NAME.dll: $(date +"%T")
41 echo "TMPDIR=$tmpDir $cmd"
42 echo "================"
47 echo "================"
48 echo End time COREFX_TEST_NAME.dll: $(date +"%T")
50 if [ "${exitcode_list[$test_exitcode]}" != "" ]; then
51 echo exit code $test_exitcode means ${exitcode_list[$test_exitcode]}