head 1.2; access; symbols pkgsrc-2020Q4:1.1.0.6 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.4 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.2 pkgsrc-2020Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2021.03.03.12.05.42; author nia; state dead; branches; next 1.1; commitid oNQdXX5APs6nhRJC; 1.1 date 2020.05.23.20.30.21; author rillig; state Exp; branches; next ; commitid Qz9BynTWxWRFcp9C; desc @@ 1.2 log @Move lang/mono6 to lang/mono. The old mono4 has been refusing to build on all platforms for a while, while mono6 at least builds on some, so hopefully this is less misleading. @ text @$NetBSD: patch-acceptance-tests_microbench-perf_sh_in,v 1.1 2020/05/23 20:30:21 rillig Exp $ Shell portability. https://github.com/mono/mono/issues/19694 --- acceptance-tests/microbench-perf.sh.in.orig 2020-02-04 17:00:30.000000000 +0000 +++ acceptance-tests/microbench-perf.sh.in 2020-05-03 13:09:59.908937340 +0000 @@@@ -3,15 +3,13 @@@@ aotpattern="--aot=" # if this is an aot invoke -if [[ $@@ =~ $aotpattern ]]; -then +case "$*" in *"$aotpattern"*) # just aot the code echo "$r/runtime/mono-wrapper $@@" exec $r/runtime/mono-wrapper $@@ -else +;; +*) # else run it under perf echo "$MONO_PERF_BINARY record -o $r/acceptance-tests/perf.data -v -s -g -- $r/mono/mini/mono-sgen $@@" exec $MONO_PERF_BINARY record -o $r/acceptance-tests/perf.data -v -s -g $r/mono/mini/mono-sgen $@@ -fi - - +esac @ 1.1 log @lang/mono6: fix shell portability in acceptance tests @ text @d1 1 a1 1 $NetBSD$ @