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

add SMP tests

This commit is contained in:
Stefan Lankes 2019-05-17 21:52:06 +02:00
parent 8ab724c63e
commit 7baeecb535

View file

@ -44,9 +44,10 @@ test:
script:
- cd build
- export TDIR=./local_prefix/opt/hermit/x86_64-hermit/extra
- export FILES="$TDIR/tests/hello"
- export FILES="$TDIR/tests/hello $TDIR/tests/hellof $TDIR/tests/hello++ $TDIR/tests/thr_hello $TDIR/tests/pi $TDIR/benchmarks/stream $TDIR/benchmarks/basic $TDIR/tests/signals $TDIR/tests/test-malloc $TDIR/tests/test-malloc-mt $TDIR/tests/argv_envp"
- export PROXY=./local_prefix/opt/hermit/bin/proxy
- for f in $FILES; do echo "check $f..."; HERMIT_ISLE=qemu HERMIT_CPUS=1 HERMIT_KVM=0 HERMIT_VERBOSE=1 timeout --kill-after=5m 5m $PROXY $f || exit 1; done
- for f in $FILES; do echo "check $f..."; HERMIT_ISLE=qemu HERMIT_CPUS=2 HERMIT_KVM=0 HERMIT_VERBOSE=1 timeout --kill-after=5m 5m $PROXY $f || exit 1; done
image: ${IMAGE}
tags:
- docker