Skip to content

Meson build: most tests in sage/tests/cmdline.py are obsolete #39871

@antonio-rojas

Description

@antonio-rojas

Steps To Reproduce

Most of the command line options of the sage command are removed in the meson build, so the tests in sage/tests/cmdline.py are failing.

There is also one broken test in sage/tests/startup.py (for sage --python)

Expected Behavior

No failing tests

Actual Behavior

$ python -m sage.doctest --long sage/src/sage/tests/cmdline.py 
Running doctests with ID 2025-04-04-21-01-52-db5feb3f.
[...]
----------------------------------------------------------------------
sage -t --long --warn-long 30.0 --random-seed=310047104175364801027648980857441483167 sage/src/sage/tests/cmdline.py  # 75 doctests failed
----------------------------------------------------------------------

Additional Information

No response

Environment

  • OS: Arch Linux
  • Sage Version: 10.7.beta0

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions