Files
nvfp4-megamoe-kernel/tests/unit/test_minimal_cmp_runner.py

9 lines
387 B
Python

import subprocess, sys
for t in ["just_store", "load_and_store", "float_cmp"]:
print(f"\n=== {t} ===")
r = subprocess.run([sys.executable, "tests/unit/test_minimal_cmp.py", t],
capture_output=True, text=True, timeout=60)
print(r.stdout[-200:] if r.stdout else "")
if r.stderr: print(f"ERR: ...{r.stderr[-200:]}")
print(f"Exit: {r.returncode}")