mtest takes a while... don't let travis kill it

This commit is contained in:
Steffen Jaeckel 2016-04-22 00:53:29 +02:00
parent 0bccf0eb75
commit 447f7b8148
2 changed files with 5 additions and 4 deletions

View File

@ -3,10 +3,7 @@ compiler:
- gcc
script:
- make
- make test
- make mtest
- ./mtest/mtest 666666 | ./test > test.log
- make travis_mtest
- head -n 5 test.log
- tail -n 2 test.log
- ./testme.sh

View File

@ -96,6 +96,10 @@ test_standalone: $(LIBNAME) demo/demo.o
mtest:
cd mtest ; $(CC) $(CFLAGS) -O0 mtest.c $(LFLAGS) -o mtest
travis_mtest: test mtest
@ for i in `seq 1 10` ; do sleep 500 && echo alive; done &
./mtest/mtest 666666 | ./test > test.log
timing: $(LIBNAME)
$(CC) $(CFLAGS) -DTIMER demo/timing.c $(LIBNAME) $(LFLAGS) -o ltmtest