Skip to content

Conversation

@gilles-peskine-arm
Copy link
Contributor

@gilles-peskine-arm gilles-peskine-arm commented Jul 3, 2025

Follow up to my presentation today:

  • Update a lot of the obsolete content (not everything) in the test guidelines document.
  • Add various bits of modern stuff.
  • Add a section on constant-flow testing.
  • Add a new knowledge base document with some miscellaneous debugging tips.
  • Publish my slides (updated from the discussion).

Signed-off-by: Gilles Peskine <[email protected]>
Modernize the documentation and example around the capabilities of the test
code generator. Some of it dated back to before the introduction of
`generate_test_code.py` which replaced `generate_code.pl` in Mbed TLS 2.13.
Also document features added over the years (all of which made their way
into 3.x before the end of life of Mbed TLS 2.28). Document file locations
in the framework repository where they have been since Mbed TLS 3.6.0.

Signed-off-by: Gilles Peskine <[email protected]>
Document `SKIP_TEST_SUITES`.

Tips on running a single test case.

Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>

Signed-off-by: Gilles Peskine <[email protected]>
@gilles-peskine-arm gilles-peskine-arm force-pushed the unit-test-docs-20250703 branch from 4417919 to eb555f9 Compare July 3, 2025 20:57
```
* Used in: `component_release_test_valgrind*`

### Getting symbolic backtraces from symbolizers
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mpg FYI

Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
@gilles-peskine-arm gilles-peskine-arm force-pushed the unit-test-docs-20250703 branch from 99fbb9a to edc03c1 Compare July 4, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In Development

Development

Successfully merging this pull request may close these issues.

1 participant