1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

reduce memory size of the VM

This commit is contained in:
Stefan Lankes 2017-02-19 10:19:43 +01:00
parent 0de6c0c876
commit 9603ea46f0
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,6 @@
sudo: required
dist: trusty
cache: ccache
git:
submodules: false
language: c
@ -35,7 +36,7 @@ env:
- PATH=$PATH:/opt/hermit/bin/
- HERMIT_ISLE=qemu
- HERMIT_CPUS=1
- HERMIT_MEM="512M"
- HERMIT_MEM="128M"
- HERMIT_KVM="0"
- HERMIT_VERBOSE="1"
- CFLAGS_FOR_TARGET="-m64 -O2 -ftree-vectorize"

View file

@ -3,7 +3,8 @@
# do not use this script
# it is written only for internal tests via Travis CI
FILES="usr/tests/hello usr/tests/hellof usr/tests/hello++ usr/tests/thr_hello usr/tests/pi usr/benchmarks/stream usr/benchmarks/basic"
FILES="usr/tests/hello usr/tests/hellof usr/tests/hello++ usr/tests/thr_hello usr/tests/pi"
#FILES="usr/tests/hello usr/tests/hellof usr/tests/hello++ usr/tests/thr_hello usr/tests/pi usr/benchmarks/stream usr/benchmarks/basic"
PROXY=/opt/hermit/bin/proxy
for f in $FILES; do echo "check $f..."; timeout --kill-after=3m 3m $PROXY $f || exit 1; done