Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport 2.1: Expand i386 all.sh tests to include full configuration ASan builds #1873

Merged
merged 3 commits into from
Jul 24, 2018

Conversation

simonbutcher
Copy link
Contributor

@simonbutcher simonbutcher commented Jul 20, 2018

Description

This is a backport of PR #1810.

The i386 test builds were only building the default configuration and had no address sanitisation. This pull request expands the test configuration to the full configuration in all.sh and generates ASan builds for test suite execution.

This pull request extends test coverage sufficiently that issue #1550, where the MPI assembly code on i386 which was fundamentally broken, would have been caught.

It also fixes the inline assembly which was previously only being included in builds with no optimisation, which was the opposite of what it should have been doing.

Status

READY

Todos

  • Tests
  • Documentation
  • Changelog updated
  • Backported

The i386 test builds were only building the default configuration and had
no address sanitisation. This commit expands the test configuration to the full
configuration in all.sh and builds with ASan for when the test suites are
executed.
@simonbutcher simonbutcher changed the base branch from development to mbedtls-2.1 July 20, 2018 21:01
@simonbutcher simonbutcher added enhancement needs-review Every commit must be reviewed by at least two team members, mbed TLS team labels Jul 20, 2018
@simonbutcher simonbutcher added needs-work and removed needs-review Every commit must be reviewed by at least two team members, labels Jul 20, 2018
Patater
Patater previously approved these changes Jul 21, 2018
RonEld
RonEld previously approved these changes Jul 22, 2018
@RonEld RonEld removed the needs-work label Jul 22, 2018
Added an additional i386 test to all.sh, to allow one test with -O0 which
compiles out inline assembly, and one to test with -01 which includes the inline
assembly.
The i386 MPI inline assembly code was being incorrectly included when
all compiler optimisation was disabled.
@simonbutcher simonbutcher added approved Design and code approved - may be waiting for CI or backports approved for design labels Jul 23, 2018
@simonbutcher simonbutcher merged commit e9a437f into Mbed-TLS:mbedtls-2.1 Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Design and code approved - may be waiting for CI or backports enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants