From 447f7b81488c80337da854c84950623a1a68f345 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Fri, 22 Apr 2016 00:53:29 +0200 Subject: [PATCH] mtest takes a while... don't let travis kill it --- .travis.yml | 5 +---- makefile | 4 ++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0358fff..b0fb161 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/makefile b/makefile index f90971c..f19afce 100644 --- a/makefile +++ b/makefile @@ -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