"Re-running failed tests in verbose mode" does not use host runner

Aperta
#94,052 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
testing-qa

Direzione di ricerca

Inizia con l’API del test runner introdotta da GH-84461 / PR GH-91930 e segui rerun_failed_tests() attraverso il processo di controllo dei test. Verifica che i test falliti vengano rieseguiti con ns.python e il runner dell’host invece che con il Python di build, inclusi WebAssembly o altri target di cross-compilazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

3.11 3.12 tests type-bug

Bug report

Issue GH-84461 / PR GH-91930 introduces a new test runner API to execute tests with a different Python interpreter. It is used by WebAssembly and other cross-compile targets to run tests. The test controll process uses the native build Python interpreter while the tests workers use the cross compiled host Python interpreter with a HOSTRUNNER like wasmtime or NodeJS.

The rerun_failed_tests() method does not use ns.python. Failed tests are re-executed with the build Python instead of host Python.

@ethanhs

Lingua principale
Python
Stelle
77.2k
Fork
36k
Merge medio
1g 9h
PR unite (30g)
558

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python/cpython

Tutte le issue di python/cpython

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.