mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Highball memory requirement (4GB) with common/{raise,safety}
Both test suites require more memory than my amd64 VM using GENERIC-NODEBUG can provide and reliably panic it with OOM issues in dtrace(4). Some of the testcases fail, but this at least bypasses the panic behavior on platforms that don't have enough resources MFC after: 2 weeks Discussed with: markj Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
256bf4121c
commit
08dde4d421
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303900
|
@ -20,4 +20,6 @@ CFILES= \
|
|||
tst.raise3.c \
|
||||
|
||||
|
||||
TEST_METADATA.t_dtrace_contrib+= required_memory="4g"
|
||||
|
||||
.include "../../dtrace.test.mk"
|
||||
|
|
|
@ -53,4 +53,6 @@ CFILES= \
|
|||
|
||||
|
||||
|
||||
TEST_METADATA.t_dtrace_contrib+= required_memory="4g"
|
||||
|
||||
.include "../../dtrace.test.mk"
|
||||
|
|
|
@ -34,15 +34,28 @@ genmakefile()
|
|||
|
||||
# One-off variable definitions.
|
||||
local special
|
||||
if [ "$basedir" = proc ]; then
|
||||
case "$basedir" in
|
||||
proc)
|
||||
special="
|
||||
LIBADD.tst.sigwait.exe+= rt
|
||||
"
|
||||
elif [ "$basedir" = uctf ]; then
|
||||
;;
|
||||
raise)
|
||||
special="
|
||||
TEST_METADATA.t_dtrace_contrib+= required_memory=\"4g\"
|
||||
"
|
||||
;;
|
||||
safety)
|
||||
special="
|
||||
TEST_METADATA.t_dtrace_contrib+= required_memory=\"4g\"
|
||||
"
|
||||
;;
|
||||
uctf)
|
||||
special="
|
||||
WITH_CTF=YES
|
||||
"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
local makefile=$(mktemp)
|
||||
cat <<__EOF__ > $makefile
|
||||
|
|
Loading…
Reference in a new issue