#!/usr/bin/env python3 from mupq import mupq from interface import M4Settings, M4 import sys if __name__ == "__main__": with M4() as m4: test = mupq.TestVectors(M4Settings(), m4) test.test_all(sys.argv[1:])
#!/usr/bin/env python3 from mupq import mupq from interface import * import sys if __name__ == "__main__": args, rest = parse_arguments() riscv, settings = get_platform(args) with riscv: test = mupq.TestVectors(settings, riscv) test.test_all(rest)
#!/usr/bin/env python3 from mupq import mupq from interface import parse_arguments, get_platform if __name__ == "__main__": args, rest = parse_arguments() platform, settings = get_platform(args) with platform: test = mupq.TestVectors(settings, platform) test.test_all(rest)