mtest takes a while... don't let travis kill it
This commit is contained in:
parent
0bccf0eb75
commit
447f7b8148
|
@ -3,10 +3,7 @@ compiler:
|
||||||
- gcc
|
- gcc
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make
|
- make travis_mtest
|
||||||
- make test
|
|
||||||
- make mtest
|
|
||||||
- ./mtest/mtest 666666 | ./test > test.log
|
|
||||||
- head -n 5 test.log
|
- head -n 5 test.log
|
||||||
- tail -n 2 test.log
|
- tail -n 2 test.log
|
||||||
- ./testme.sh
|
- ./testme.sh
|
||||||
|
|
4
makefile
4
makefile
|
@ -96,6 +96,10 @@ test_standalone: $(LIBNAME) demo/demo.o
|
||||||
mtest:
|
mtest:
|
||||||
cd mtest ; $(CC) $(CFLAGS) -O0 mtest.c $(LFLAGS) -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)
|
timing: $(LIBNAME)
|
||||||
$(CC) $(CFLAGS) -DTIMER demo/timing.c $(LIBNAME) $(LFLAGS) -o ltmtest
|
$(CC) $(CFLAGS) -DTIMER demo/timing.c $(LIBNAME) $(LFLAGS) -o ltmtest
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue