RFC tests reorg
I maintainer di solito rispondono entro 4 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
Direzione di ricerca
This is a proposal to reorganise the C test suite, not a ready change. Start by reading the test sources the issue names (test-blacklist.c, test-dependencies.c, test-loaded.c, test-modprobe, test-weakdep) and the results of running test-foo --list across the test binaries. Any work needs maintainer agreement on each item first, since the thread has no decision after 82 days. Done means the maintainers have chosen which items to adopt and a consolidated test layout is merged.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
While going through the earlier test PRs (https://github.com/kmod-project/kmod/pull/258 and https://github.com/kmod-project/kmod/pull/375), a few things of varying annoyance stood out. Each of these is mostly independent, so one can thumbs up/down individually or as a whole:
- inconsistent cleanups in error path - mostly addressed by latter PR, finish and merge
- custom checks vs
assert_return()- ditto - test names (as per
test-foo --list) starting withtest_(61) vs not (55) - remove the prefix - arbitrary/non-descriptive test names (
alias_1,from_alias, etc) - useutil_alias,libkmod_new_from_alias, aka$top-level-dir_testnameor$tool_testname - ^^ for filenames (
test-blacklist.c,test-dependencies.c,test-loaded.c, etc) - usetest-libkmod-foobar.c - multiple-files-per-tool (
test-modprobe,test-weakdep, etc) - merge into one - one-test-per-file (mostly likmod API) - merge, unless it causes problems
- dozen+ test binaries, non-unique testnames (practically identical/duplicated
test_remove), manually running tests (tab completion doesn't work insh -c 'source ....) - fold into single binary
@lucasdemarchi @stoeckmann do let me know what you think. All of these are a net positive IMHO, with the* minus being the temporary churn. If you see any item as a potential deterrent from adding more test, please let me know.
- Lingua principale
- C
- Stelle
- 116
- Fork
- 70
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di kmod-project/kmod
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
kmod-project/kmod#492 ·
I maintainer di solito rispondono entro 4 giorni
-
good first issue
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
kmod-project/kmod#484 · 1 reazione ·
I maintainer di solito rispondono entro 4 giorni
-
good first issue
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
kmod-project/kmod#483 ·
I maintainer di solito rispondono entro 4 giorni
-
Various 34.x backport nominationsForse già presa @lucasdemarchi l’ha presa 6 giorni fa. Apertafor-lucas
kmod-project/kmod#480 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 4 giorni
-
Use `malloc` function attributeForse già presa @crims0n l’ha presa 5 giorni fa. Apertagood first issue
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
kmod-project/kmod#479 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di kmod-project/kmod
Issue simili
-
LLVM versionsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue help wanted
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
JustAResearcher/gpu-unlock-ada#145 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno