Updated Makefile to call validate_descriptor.py during tests 37/6237/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 30 May 2018 09:35:02 +0000 (11:35 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 30 May 2018 09:35:02 +0000 (11:35 +0200)
Change-Id: I7a64f4a9a9b80c1740e5fd95d3e9d2d855d89fe5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
descriptor-packages/mk/pkg.mk

index 4b768b7..07c0ed8 100644 (file)
@@ -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