Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-109566, regrtest: Add --fast-ci and --slow-ci options #109570

Merged
merged 2 commits into from
Sep 26, 2023

Commits on Sep 26, 2023

  1. pythongh-109566, regrtest: Add --fast-ci and --slow-ci options

    * Add --fast-ci and --slow-ci options to libregrtest:
    
      * --fast-ci uses a default timeout of 10 minutes and "-u all,-cpu"
        (skip slowest tests).
      * --slow-ci uses a default timeout of 20 minues and "-u all" (run
        all tests).
    
    * regrtest header now lists test resources.
    * Makefile changes:
    
      * "make test", "make hostrunnertest" and "make coverage-report" now
        use --fast-ci option and TESTTIMEOUT variable.
      * "make buildbottest" now uses "--slow-ci". Remove options which
        became redundant with "--slow-ci".
      * "make testall" and "make testuniversal" now use --slow-ci option
        and TESTTIMEOUT variable.
      * "make testall" now uses "find -exec rm ..." instead of
        "find ... -print|xargs rm ...", same as "make clean".
    
    * GitHub Actions workflow:
    
      * Ubuntu and Address Sanitizer jobs now use "make test". Remove
        options which became redundant with "--fast-ci".
      * Windows jobs now use --fast-ci option.
      * Use -j0 to detect the number of CPUs.
    
    * Set Makefile TESTTIMEOUT default to an empty string, since
      --slow-ci and --fast-ci use different default timeout. It's now
      accepted to pass "--timeout=" to regrtest: treated as not timeout.
    * Tools/scripts/run_tests.py now uses --fast-ci option.
    * Tools/buildbot/test.bat now uses --slow-ci option. Remove
      --timeout=1200 option, redundant with --slow-ci.
    vstinner committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    be4c7be View commit details
    Browse the repository at this point in the history
  2. Add test_fast_ci_resource()

    vstinner committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    4fcd6af View commit details
    Browse the repository at this point in the history