https://github.com/mupq/pqm4
Raw File
Tip revision: 735111942abfe9b183179e44afe4a53687c38450 authored by Richard Petri on 07 November 2023, 09:41:19 UTC
Add option to use running OpenOCD server
Tip revision: 7351119
testvectors.py
#!/usr/bin/env python3
from mupq import mupq
from interface import parse_arguments, get_platform
import sys

if __name__ == "__main__":
    args, rest = parse_arguments()
    platform, settings = get_platform(args)
    with platform:
        test = mupq.TestVectors(settings, platform)
        if test.test_all(rest):
            sys.exit(1)
back to top