| 1 | """Query both release ABI tables with the target resolver.""" |
| 2 | import subprocess |
| 3 | |
| 4 | for architecture, expected in (("x86_64", "0"), ("aarch64", "63")): |
| 5 | result = subprocess.check_output(["vinix-run", "--library-path", "src/.libs", |
| 6 | "tools/.libs/scmp_sys_resolver", "-a", architecture, "read"], text=True) |
| 7 | if result.strip() != expected: |
| 8 | raise SystemExit(f"incorrect read syscall for {architecture}: {result.strip()}") |
| 9 |