phoenix-rtos/phoenix-rtos-project
Voir sur GitHubRewrite old tests using Unity and harnesses
Open
#142 ouverte le 9 juil. 2021
good first issuetests
Métriques du dépôt
- Stars
- (62 stars)
- Métriques de merge PR
- (Métriques PR en attente)
Description
In pheonix-rtos-tests there are old tests that could be rewritten using Unity framework or python harnesses:
- disk/test_disk.c (benchmark)
- fs/test_fcntl.c (unit tests)
- fs/test_fs.c (benchmark/unit)
- mem/test_malloc.c (benchmark/unit)
- mem/pmt.c (unit - include into malloc tests)
- mem/test_memmove.c (unit)
- mem/tst_mmap.c (benchmark/unit)
- proc/*.c (part of them can be rewritten as unit tests, some can be parsed by harness (for example thread tests with printing))
- stdio/test_scanf.c (unit)
- stdio/test_str2num.c (unit)
- time/test_*time.c (unit)
If you want to rewrite test just create PR and link to this issue. I'll try to track what have been done. Benchmark tests could be done using test harness with some fixed ranges of benchmark. I encourage to expand some tests (e.g. malloc).