From ad6c60cb42bb218187e6f7f36d3692c92b23577e Mon Sep 17 00:00:00 2001 From: Everett Hildenbrandt Date: Wed, 6 Jun 2018 09:25:46 -0600 Subject: Makefile: enable validation/filled for VMTests --- Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 00b1db851..d90596488 100644 --- a/Makefile +++ b/Makefile @@ -17,14 +17,22 @@ all_schemas:=$(wildcard JSONSchema/*.json) # Testset sanitation -sani: $(all_schemas:=.format) $(vm_fillers:=.format) $(vm_tests:=.format) +sani: sani-schema sani-vm + +sani-schema: $(all_schemas:=.format) + +sani-vm: $(vm_tests:=.format) $(vm_fillers:=.format) \ + $(vm_tests:=.valid) $(vm_fillers:=.valid) \ + $(vm_tests:=.filled) %.format: python3 test.py format ./$* git diff --quiet --exit-code &>/dev/null -%.sani: - python3 test.py validate ./$* +%.valid: + python3 test.py validate ./$* + +%.filled: python3 test.py checkFilled ./$* # Test running command -- cgit