5 # if this is an aot invoke
6 if [[ $@
=~
$aotpattern ]];
9 echo "$r/runtime/mono-wrapper $@"
10 exec $r/runtime
/mono-wrapper $@
12 # else run it under perf
13 echo "$MONO_PERF_BINARY record -o $r/acceptance-tests/perf.data -v -s -g -- $r/mono/mini/mono-sgen $@"
14 exec $MONO_PERF_BINARY record
-o $r/acceptance-tests
/perf.data
-v -s -g $r/mono
/mini
/mono-sgen $@