|
|
@ -107,7 +107,10 @@ test:
|
|
|
|
$(MAKE) testfront
|
|
|
|
$(MAKE) testfront
|
|
|
|
|
|
|
|
|
|
|
|
coverage: $(INSTALL_DIR)/koreader/.luacov
|
|
|
|
coverage: $(INSTALL_DIR)/koreader/.luacov
|
|
|
|
cd $(INSTALL_DIR)/koreader && ./luajit $(shell which busted) -o verbose_print --coverage --exclude-tags=nocov
|
|
|
|
cd $(INSTALL_DIR)/koreader && \
|
|
|
|
|
|
|
|
./luajit $(shell which busted) -o verbose_print \
|
|
|
|
|
|
|
|
--no-auto-insulate \
|
|
|
|
|
|
|
|
--coverage --exclude-tags=nocov
|
|
|
|
# coverage report summary
|
|
|
|
# coverage report summary
|
|
|
|
cd $(INSTALL_DIR)/koreader && tail -n \
|
|
|
|
cd $(INSTALL_DIR)/koreader && tail -n \
|
|
|
|
+$$(($$(grep -nm1 Summary luacov.report.out|cut -d: -f1)-1)) \
|
|
|
|
+$$(($$(grep -nm1 Summary luacov.report.out|cut -d: -f1)-1)) \
|
|
|
|