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

add a timeout for each test

This commit is contained in:
Stefan Lankes 2016-11-20 14:53:57 +01:00
parent 88de77669b
commit 5b73082bfd
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ language: c
compiler: gcc
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y curl qemu-system-x86 nasm texinfo libmpfr-dev libmpc-dev libgmp-dev libisl-dev flex bison
- sudo apt-get install -y curl qemu-system-x86 nasm texinfo libmpfr-dev libmpc-dev libgmp-dev libisl-dev flex bison timeout
- git submodule update --init hermit/lwip hermit/usr/gcc hermit/usr/pte hermit/usr/libomp
script:
- ./configure

View file

@ -6,7 +6,7 @@
FILES="hermit/usr/tests/hello hermit/usr/tests/hellof hermit/usr/tests/hello++ hermit/usr/tests/thr_hello hermit/usr/tests/pi hermit/usr/benchmarks/stream hermit/usr/benchmarks/basic"
PROXY=hermit/tools/proxy
for f in $FILES; do echo "check $f..."; $PROXY $f || exit 1; done
for f in $FILES; do echo "check $f..."; timeout 180 $PROXY $f || exit 1; done
# test echo server at port 8000
$PROXY hermit/usr/tests/server &