diff options
Diffstat (limited to 'check')
-rwxr-xr-x | check | 21 |
1 files changed, 0 insertions, 21 deletions
@@ -321,27 +321,6 @@ def check_subplotlib(r): # Run Rust doctests for the subplotlib library. r.runcmd(["cargo", "test", "--doc"], cwd="subplotlib") - # Find subplots for subplotlib. - mds = find_files("subplotlib/*.md", lambda f: True) - - os.makedirs("subplotlib/tests", exist_ok=True) - for md0 in mds: - r.title(f"checking subplot {md0}") - dirname = os.path.dirname(md0) - md = os.path.basename(md0) - base, _ = os.path.splitext(md) - test_rs = os.path.join("tests", base + ".rs") - r.codegen(md, test_rs, cwd=dirname) - r.docgen(md, os.path.join(output, base + ".html"), cwd=dirname) - r.docgen(md, os.path.join(output, base + ".pdf"), cwd=dirname) - - # Format the code once more to keep things clean - r.title("Formatting subplotlib") - r.cargo(["fmt", "-p", "subplotlib"], cwd=dirname) - # Run all of the integration suites (many of which have come from the above) - r.title("Running subplotlib integration tests") - r.cargo(["test", "-p", "subplotlib", "--tests"]) - def check_tooling(r): """Check build environment for tooling the test suite needs""" |