From 6d5bc7819d4498877e09ad78ae4305b329d43652 Mon Sep 17 00:00:00 2001 From: Tulio Casagrande Date: Tue, 7 Feb 2017 16:51:03 -0200 Subject: Simplify test routines to not install packages every time --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a263ec42..3968c113 100644 --- a/Makefile +++ b/Makefile @@ -36,11 +36,11 @@ create_virtualenv: ensure_virtualenv_installed virtualenv --python=python2 $(VIRTUALENV);\ fi -test: test_py test_js coverage -test_py: clean requirements install coverage linters_py unit_tests_py integration_tests_py -test_js: clean requirements_js install_js linters_js unit_tests_js +test: clean install test_py test_js coverage +test_py: linters_py unit_tests_py integration_tests_py +test_js: linters_js unit_tests_js test_all: test functional_tests -linters: clean requirements install linters_py linters_js +linters: linters_py linters_js linters_py: @. $(VIRTUALENV)/bin/activate;\ @@ -68,7 +68,7 @@ unit_tests_js: @cd web-ui;\ npm run test -integration_tests: +integration_tests_py: @. $(VIRTUALENV)/bin/activate;\ cd service;\ trial -j`grep -c "^processor" /proc/cpuinfo || sysctl -n hw.logicalcpu` --reporter=text test.integration -- cgit v1.2.3