Skip to content

Commit

Permalink
run.py: add test.yaml option to skip schema validation
Browse files Browse the repository at this point in the history
  • Loading branch information
inashivb committed Oct 3, 2024
1 parent 3be0daf commit aebea10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,9 @@ def run(self, outdir):
print("===> {}: Retrying".format(os.path.basename(self.directory)))
continue

global VALIDATE_EVE
VALIDATE_EVE = not self.config.get("skip-eve-validation", False)

if VALIDATE_EVE:
check_output = subprocess.call([os.path.join(TOPDIR, "check-eve.py"), outdir, "-q", "-s", os.path.join(self.cwd, "etc", "schema.json")])
if check_output != 0:
Expand Down

0 comments on commit aebea10

Please sign in to comment.