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.
This commit is contained in:
parent
6de7b98e76
commit
f8f9100a0d
1 changed files with 5 additions and 1 deletions
|
@ -109,10 +109,14 @@ install-docs :
|
||||||
%.s : %.c
|
%.s : %.c
|
||||||
$(CC) $(CFLAGS) $(CPPFLAGS) -S $<
|
$(CC) $(CFLAGS) $(CPPFLAGS) -S $<
|
||||||
|
|
||||||
check : chronyd chronyc
|
quickcheck : chronyd chronyc
|
||||||
$(MAKE) -C test/unit check
|
$(MAKE) -C test/unit check
|
||||||
cd test/simulation && ./run
|
cd test/simulation && ./run
|
||||||
|
|
||||||
|
check : chronyd chronyc
|
||||||
|
$(MAKE) -C test/unit check
|
||||||
|
cd test/simulation && ./run -i 20 -m 2
|
||||||
|
|
||||||
Makefile : Makefile.in configure
|
Makefile : Makefile.in configure
|
||||||
@echo
|
@echo
|
||||||
@echo Makefile needs to be regenerated, run ./configure
|
@echo Makefile needs to be regenerated, run ./configure
|
||||||
|
|
Loading…
Reference in a new issue