Emacs Lisp: `eask run command <name>` (a user-defined Eask command running ert) is not a test run

Aperta
#279 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

The false FAIL comes from the Emacs Lisp test-detection check in the Python validator; find the rule that requires a CI command matching eask test ert and extend it to recognise eask run command <name> by reading the named eask-defcommand in the Eask file. Reproduce with the repro case in the issue (an Eask file defining a command that runs ert, with CI calling eask run command test) and confirm it no longer reports FAIL, accepting PASS or unknown.

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

Descrizione

emacs-evil/evil's make test runs eask run command test, an Eask command that loads evil-tests.el (235 ert-deftests) and runs them → FAIL "no CI configuration runs eask test ert …". The Eask file's commands are readable.

Evidence from the corpus audit

emacs-evil/evil / tests-run
  • kind: FALSE_NEGATIVE
  • actual: FAIL: Emacs Lisp: tests found in 1 file(s), but no CI configuration runs eask test ert test/*.el (...)
  • expected: PASS (or ERROR): CI's make test runs eask run command test, a user-defined Eask command that loads evil-tests.el (235 ert-deftests) and runs them.
  • evidence: .github/workflows/test.yml:53: make test; Makefile:37-38: test: / $(EASK) run command test; Eask:25-28: (eask-defcommand test ... (require 'evil-tests) / (evil-tests-initialize nil nil)).
  • repro: Eask with (eask-defcommand test (require 'x-tests) (ert-run-tests-batch-and-exit)) and CI eask run command test.
  • confidence: medium (the command body is Elisp; "unknown" would be acceptable, silent FAIL is not)

Found by the regression-corpus audit (235 real repositories, one or more per ecosystem profile; corpus and expected results in corpus/). Evidence is quoted from the audited checkouts at the commits pinned in corpus/projects.toml; <checkouts>/<owner>__<repo> is such a checkout.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Lingua principale
Python
Stelle
4
Fork
1
Merge medio
10h 41m
PR unite (30g)
79

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 cpp-best-practices/project_validator

Tutte le issue di cpp-best-practices/project_validator

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.