mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-13 08:48:18 +00:00
Don't fail tests when xmlschema is missing
This commit is contained in:
parent
d398a3c2df
commit
80eacf34ca
|
@ -1,4 +1,13 @@
|
||||||
|
try:
|
||||||
from xmlschema import XMLSchema, XMLSchemaValidationError
|
from xmlschema import XMLSchema, XMLSchemaValidationError
|
||||||
|
except ImportError:
|
||||||
|
import os
|
||||||
|
if "NOSKIP" not in os.environ.get("MAKEFLAGS", ""):
|
||||||
|
print()
|
||||||
|
print("SKIPPING python library xmlschema not found, skipping JUnit output validation")
|
||||||
|
print()
|
||||||
|
exit(0)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
Loading…
Reference in a new issue