aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test.py b/test.py
index 146537a5a..79fab1ec0 100755
--- a/test.py
+++ b/test.py
@@ -81,8 +81,12 @@ def validateSchema(jsonFile, schemaFile):
jsonschema.validate(jsonInput, schema)
def validateTestFile(jsonFile):
+ if jsonFile.startswith("./src/VMTestsFiller/"):
+ validateSchema(jsonFile, "JSONSchema/vm-filler-schema.json")
elif jsonFile.startswith("./src/GeneralStateTestsFiller/"):
validateSchema(jsonFile, "JSONSchema/st-filler-schema.json")
+ elif jsonFile.startswith("./VMTests/"):
+ validateSchema(jsonFile, "JSONSchema/vm-schema.json")
elif jsonFile.startswith("./GeneralStateTests/"):
validateSchema(jsonFile, "JSONSchema/st-schema.json")
elif jsonFile.startswith("./BlockchainTests/"):