Skip to content

Conversation

@jungleraptor
Copy link
Contributor

@jungleraptor jungleraptor commented Sep 29, 2021

Jira

Added a VALGRIND_MEMCHECK option to swift_add_test for unit tests. This will call swift_valgrind_memcheck with a default set of parameters. Respects the ${PROJECT_NAME}_ENABLE_PROFILING option.

Copy link
Contributor

@silverjam silverjam left a comment

Choose a reason for hiding this comment

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

LGTM-- please clean up PR title before merge (remove username and add Jira tag)

Copy link
Contributor

@jbangelo jbangelo left a comment

Choose a reason for hiding this comment

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

Looks great! Exactly what I was hoping for. Thanks for the quick turn around on this @isaactorz !

@jungleraptor jungleraptor changed the title Itorres/add valgrind to swift test Add Valgrind Targets to Unit Tests [DEVINFRA-550] Sep 29, 2021
@jungleraptor jungleraptor force-pushed the itorres/add-valgrind-to-swift-test branch from d9da73a to a9bdecb Compare September 30, 2021 15:22
Often in Starling when a unit test is added with swift_add_test, a
corresponding valgrind-membeck target is added. For convenience,
an optional parameter, VALGRIND_MEMCHECK, has been added to
swift_add_test to automatically create a valgrind target from
the unit test definition.
@jungleraptor jungleraptor force-pushed the itorres/add-valgrind-to-swift-test branch from a9bdecb to 31d066a Compare September 30, 2021 15:42
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants