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

Aberta
#279 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
42/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
emacs-lisp, python
Domínio
testing-qa

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Python
Estrelas
4
Forks
1
Merge médio
10h 41min
PRs com merge (30d)
79

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de cpp-best-practices/project_validator

Todas as issues de cpp-best-practices/project_validator

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.