From: garciadeblas Date: Wed, 30 May 2018 09:35:02 +0000 (+0200) Subject: Updated Makefile to call validate_descriptor.py during tests X-Git-Tag: v4.0.1~3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F37%2F6237%2F1;p=osm%2Fdevops.git Updated Makefile to call validate_descriptor.py during tests Change-Id: I7a64f4a9a9b80c1740e5fd95d3e9d2d855d89fe5 Signed-off-by: garciadeblas --- diff --git a/descriptor-packages/mk/pkg.mk b/descriptor-packages/mk/pkg.mk index 4b768b7a..07c0ed88 100644 --- a/descriptor-packages/mk/pkg.mk +++ b/descriptor-packages/mk/pkg.mk @@ -31,7 +31,7 @@ Q=@ GEN_VNFD_PKG := $(TOOLS_DIR)/gen_vnfd_pkg.sh GEN_NSD_PKG := $(TOOLS_DIR)/gen_nsd_pkg.sh GEN_PKG := $(TOOLS_DIR)/generate_descriptor_pkg.sh -TEST_PKG := $(TOOLS_DIR)/upgrade_descriptor_version.py +TEST_PKG := $(TOOLS_DIR)/validate_descriptor.py BUILD_VNFD := $(shell readlink -f .|sed -e 's/\/.*descriptor-packages//' | grep vnfd) DEP_FILES = $(wildcard src/*) @@ -76,7 +76,7 @@ clean: test: $(Q)echo -n testing $(shell readlink -f src/*.yaml) " " - $(Q)$(TEST_PKG) --test src/*.yaml + $(Q)$(TEST_PKG) src/*.yaml $(Q)echo OK .DEFAULT_GOAL := all