mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-14 07:38:16 +02:00
Split the long list of tests into individual functions. Each time the test code called the `cleanup` function, I start a new function called `component_xxx`. Run all the components by enumerating the `component_xxx` functions. After running each component, call `cleanup`. A few sanity checks didn't have calls to `cleanup` because they didn't need them. I put them into separate components anyway, so there are now a few extra harmless calls to `cleanup`.