Commit ca4cb047 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

move test target

parent 1defb33e
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -38,6 +38,14 @@ install: install-basex ## Installation de MaX
	fi
.PHONY: install


tests: ## Exécution des tests unitaires
	$(shell cp config.xml.sample config.xml)
	-@.max/basex/bin/basex -c"TEST $(SRC_DIR)/test" > tests-output.xml # '-' prefix means ok to fail
	@.max/basex/bin/basex src/resources/tests-result.xq
.PHONY: tests


package: install ## Construction d'une version distribuable de MaX
	@if [ -d package ]; then\
		rm -rf package;\
@@ -129,11 +137,6 @@ feed: ## Insertion de sources XML
    echo $(path)" ajouté à la base 'max'."
.PHONY: feed

tests: ## Exécution des tests unitaires
	$(shell cp config.xml.sample config.xml)
	-@.max/basex/bin/basex -c"TEST $(SRC_DIR)/test" > tests-output.xml # '-' prefix means ok to fail
	@.max/basex/bin/basex src/resources/tests-result.xq
.PHONY: tests

help: ## Affiche cette aide
	@echo "\nChoisissez une commande. Les choix sont:\n"