travis: test low memory conditions
This commit is contained in:
parent
25709ae098
commit
31eac8a88a
|
@ -9,3 +9,13 @@ set -x
|
||||||
"$here"/test-supported
|
"$here"/test-supported
|
||||||
"$here"/test-queries
|
"$here"/test-queries
|
||||||
"$here"/test-random
|
"$here"/test-random
|
||||||
|
|
||||||
|
if [ -v COVERAGE ]; then
|
||||||
|
# Do at most 10 seconds of failmalloc testing
|
||||||
|
"$here"/test-failmalloc || true
|
||||||
|
now=$(date +%s)
|
||||||
|
in_10s=$((now+10))
|
||||||
|
while [ $(date +%s) -lt $in_10s ]; do
|
||||||
|
"$here"/test-failmalloc || true
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue