Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Compilation when --with-attributes returns empty test_list

Aperta
#1,157 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
testing-qa

Direzione di ricerca

Start by tracing how --with-attributes builds the test list and where compilation begins; the issue does not name specific files or tests. Check how an empty list is handled, then verify that matching tests still compile and run while an empty list skips compilation and reports the expected result.

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

Descrizione

Enhancement

VUnit will compile a testbench that does not set the ".example" attribute for any testcase, when called like this:
python run.py --with-attributes=.example

Only after compilation "No tests were run." is reported. Is this a deliberate design decision?
I think it would make sense to skip compilation if the test_list is empty.

My use case, where this would be a great benefit:
The codebase has many run.py's. In the CI/CD pipeline for an FPGA Image A I want to run all testbenches that are tagged to be related to the FPGA Image. The Makefile finds all run.py's and runs them using --with-attributes. However, the time overhead for compiling all testbenches if only a few are actually executed is quite large.

Lingua principale
VHDL
Stelle
850
Fork
305
Merge medio
2g 10h
PR unite (30g)
7

Preparare l'ambiente

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 VUnit/vunit

Tutte le issue di VUnit/vunit

Issue simili

Altre issue su Testing & QA

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.