mbedtls icon indicating copy to clipboard operation
mbedtls copied to clipboard

ssl-opt.sh, compat.sh: Error out if not executing any tests

Open gilles-peskine-arm opened this issue 9 months ago • 0 comments

Alert if all tests are filtered out or skipped: that probably indicates a test script that set up an unintended configuration or an overly strict filter. You can pass --min 0 to bypass this check. You can pass --min with a larger value to require that many test cases to run.

Fix a compat.sh invocation from test-ref-configs that uses a bad filter, reusing Ronald's commit from https://github.com/Mbed-TLS/mbedtls/pull/9057.

Resolves https://github.com/Mbed-TLS/mbedtls/issues/9063

PR checklist

  • [x] changelog no (test only)
  • [ ] 3.6 backport TODO
  • [ ] 2.28 backport TODO
  • [x] tests provided

Notes for the submitter

Please refer to the contributing guidelines, especially the checklist for PR contributors.

Help make review efficient:

  • Multiple simple commits
    • please structure your PR into a series of small commits, each of which does one thing
  • Avoid force-push
    • please do not force-push to update your PR - just add new commit(s)
  • See our Guidelines for Contributors for more details about the review process.

gilles-peskine-arm avatar May 17 '24 09:05 gilles-peskine-arm