スキル一覧に戻る
ahupp

run-cpython-tests

by ahupp

0🍴 0📅 2026年1月19日
GitHubで見るManusで実行

SKILL.md


name: run-cpython-tests description: Run the CPython regression test suite in this repo via scripts/run_cpython_tests.sh with parallel execution, enforce a per-test timeout, capture output to cpython_full_test_run.log, and summarize failures from that log.

Run CPython tests

Run the full suite

  • Run with full permissions, including network.
  • Use a 3-minute per-test timeout and keep parallelism enabled (run_cpython_tests.sh already uses -j0).
  • If the local cpython/ checkout is missing the target branch, re-run with FETCH_CPYTHON=1 to allow a network update.
  • Capture output to a single log file while preserving the exit status:
set -o pipefail
./scripts/run_cpython_tests.sh --timeout 180 2>&1 | tee cpython_full_test_run.log

Summarize failures from the log

  • Locate failure anchors:
rg -n "^(FAIL|ERROR|TIMEOUT|CRASHED|INTERRUPTED|LEAKED|ENV_CHANGED):" cpython_full_test_run.log
  • Extract each failure block (look for the separator lines of ===) and classify the failure based on the first error line after the traceback.
  • Use these categories in the summary:
    • FAIL: assertion mismatch or explicit test failure; call out the mismatched expectation.
    • ERROR: unexpected exception; report the exception type and message.
    • TIMEOUT: test exceeded 180 seconds; call out the hang/timeout.
    • CRASHED/FATAL: interpreter crash; mention the fatal error or signal.
    • LEAKED/ENV_CHANGED: resource leak or environment mutation; mention the resource.
  • Summarize each failing test as: test_name: <category> - <short reason from output>.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です