Commit 9fd358af authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

fix_artifacts: enabled log for test. Modified test-harness Makefile for mid and

projects to rename the htmlcov folder
parent 0429774b
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ test:
	mkdir -p /build/reports && \
        if [ -d /build ]; then \
                mv /app/setup_py_test.stdout /build/csp_lmc_common_setup_test.stdout; \
                mv /app/htmlcov /build/csp_lmc_common_htmlcov; \
                mv /app/htmlcov /build/htmlcov; \
                mv /app/coverage.xml /build/csp_lmc_common_coverage.xml; \
        fi;
lint:
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ test: build up ## test the application
	$(call make,test); \
	  status=$$?; \
	  rm -fr build; \
          #docker-compose $(COMPOSE_FILE_ARGS) logs;
          docker-compose $(COMPOSE_FILE_ARGS) logs;
	  docker cp $(BUILD):/build .; \
	  docker rm -f -v $(BUILD); \
	  $(MAKE) down; \
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ test:
	mkdir -p /build/reports && \
	if [ -d /build ]; then \
		mv /app/setup_py_test.stdout /build/mid_csp_lmc_setup_test.stdout; \
		mv /app/htmlcov /build/mid_csp_lmc_htmlcov; \
		mv /app/htmlcov /build/htmlcov; \
		mv /app/coverage.xml /build/mid_csp_lmc_coverage.xml; \
	fi;
lint: