https://github.com/mupq/pqm4
Raw File
Tip revision: cc3481a10e1205c2a879bd9944cf809344630a86 authored by Matthias J. Kannwischer on 26 March 2024, 21:09:22 UTC
fix build for other platforms
Tip revision: cc3481a
test.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.SimpleTest(settings, platform)
        if test.test_all(rest):
            sys.exit(1)
back to top