diff --git a/.travis.yml b/.travis.yml index a3ac7e044..763958c3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ script: - mv tmp hermit/usr/ - mv x86 hermit/usr/ - make T=1 travis + - make test env: global: - TOPDIR=`pwd`/../.. diff --git a/Makefile.in b/Makefile.in index 44b54a458..de80626a9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 \ diff --git a/test.sh b/test.sh new file mode 100644 index 000000000..ec3fc7954 --- /dev/null +++ b/test.sh @@ -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