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

add some simple tests, which Travis CI uses to test HermitCore

This commit is contained in:
Stefan Lankes 2016-08-27 13:37:08 +02:00
parent 8b82da8f77
commit 4314589c42
3 changed files with 11 additions and 1 deletions

View file

@ -16,6 +16,7 @@ script:
- mv tmp hermit/usr/
- mv x86 hermit/usr/
- make T=1 travis
- make test
env:
global:
- TOPDIR=`pwd`/../..

View file

@ -16,7 +16,7 @@ linux/arch/x86/boot/bzImage:
make -j$(JOBS) -C linux
test:
@echo "Nothing to test"
. ./test.sh
qemu:
$(QEMU) -smp 10 -m 8G -numa node,nodeid=0,cpus=0-4 -numa node,nodeid=1,cpus=5-9 \

9
test.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
#
# do not use this script
# it is written only for internal tests via Travis CI
FILES="hermit/usr/tests/hello hermit/usr/tests/hellof hermit/usr/tests/hello++ hermit/usr/tests/thr_hello hermit/usr/tests/jacobi"
PROXY=hermit/tools/proxy
for f in $FILES; do echo "check $f..."; $PROXY $f; done