kodev(fix): update plugins before tests

pull/2279/head
Qingping Hou 8 years ago
parent c716fef0e3
commit e41e489528

@ -77,6 +77,7 @@ ifdef WIN32
cd $(INSTALL_DIR)/koreader && cp ../../$(WIN32_DIR)/*.dll . cd $(INSTALL_DIR)/koreader && cp ../../$(WIN32_DIR)/*.dll .
endif endif
@echo "[*] Install plugins" @echo "[*] Install plugins"
@# TODO: link istead of cp?
$(RCP) plugins/* $(INSTALL_DIR)/koreader/plugins/ $(RCP) plugins/* $(INSTALL_DIR)/koreader/plugins/
@echo "[*] Installresources" @echo "[*] Installresources"
$(RCP) -pL resources/fonts/* $(INSTALL_DIR)/koreader/fonts/ $(RCP) -pL resources/fonts/* $(INSTALL_DIR)/koreader/fonts/
@ -105,7 +106,7 @@ testfront: $(INSTALL_DIR)/koreader/.busted
--no-auto-insulate \ --no-auto-insulate \
-o verbose_print --exclude-tags=notest -o verbose_print --exclude-tags=notest
test: test: $(INSTALL_DIR)/koreader/.busted
$(MAKE) -C $(KOR_BASE) test $(MAKE) -C $(KOR_BASE) test
$(MAKE) testfront $(MAKE) testfront

@ -319,6 +319,8 @@ OPTIONS:
exit 1 exit 1
fi fi
check_submodules
make
setup_env setup_env
make "${EMU_DIR}/.busted" make "${EMU_DIR}/.busted"
pushd "${EMU_DIR}" pushd "${EMU_DIR}"

Loading…
Cancel
Save