From f8f9100a0d7b18404c5a69391a60b50383276fec Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 31 Mar 2017 14:09:46 +0200 Subject: [PATCH] makefile: run tests in multiple iterations on check Use the new options of the run script in the check target to make it reliable for automatic testing without using a fixed random seed and add a new quickcheck target for the original check using just one iteration. --- Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 732d4b9..5a4aeee 100644 --- a/Makefile.in +++ b/Makefile.in @@ -109,10 +109,14 @@ install-docs : %.s : %.c $(CC) $(CFLAGS) $(CPPFLAGS) -S $< -check : chronyd chronyc +quickcheck : chronyd chronyc $(MAKE) -C test/unit check cd test/simulation && ./run +check : chronyd chronyc + $(MAKE) -C test/unit check + cd test/simulation && ./run -i 20 -m 2 + Makefile : Makefile.in configure @echo @echo Makefile needs to be regenerated, run ./configure