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

Iox #433 rework build and test tooling #452

Merged

Conversation

dkroenke
Copy link
Member

@dkroenke dkroenke commented Dec 19, 2020

Pre-Review Checklist for the PR Author

  1. Branch follows the naming format (iox-#123-this-is-a-branch)
  2. Commits messages are according to this guideline
    • Commit messages have the issue ID (iox-#123 commit text)
    • Commit messages are signed (git commit -s)
    • Commit author matches Eclipse Contributor Agreement (and ECA is signed)
  3. Update the PR title
    • Follow the same conventions as for commit messages
    • Link to the relevant issue
  4. Relevant issues are linked
  5. Add sensible notes for the reviewer
  6. All checks have passed
  7. Assign PR to reviewer

Notes for Reviewer

We have inconsistencies between the cmake build and the build script and documentation, this should be cleaned up.

  • buildflags in iceoryx_meta and build script
  • documentation
  • copyright headers in cmake files
  • add -O2 optimization for gcc/clang
  • harmonize buildflags in cmake and script
  • create a separate cmake file for all options where the user have an overview
  • move more build functionality from bash into cmake
  • test execution can be done in cmake (see tests.cmake in iceoryx_meta)
  • out-of-tree build for all examples

Checklist for the PR Reviewer

  • Commits are properly organized and messages are according to the guideline
  • Code according to our coding style and naming conventions
  • Unit tests have been written for new behavior
  • Public API changes are documented via doxygen
  • Copyright owner are updated in the changed files
  • PR title describes the changes

Post-review Checklist for the PR Author

  1. All open points are addressed and tracked via issues

Post-review Checklist for the Eclipse Committer

  1. All checkboxes in the PR checklist are checked or crossed out
  2. Merge

References

dkroenke and others added 29 commits December 16, 2020 14:47
Signed-off-by: Dietrich Krönke <[email protected]>

iox-eclipse-iceoryx#433 lsan not in Github CI

Signed-off-by: Dietrich Krönke <[email protected]>
Signed-off-by: Dietrich Krönke <[email protected]>

iox-eclipse-iceoryx#433 disable lsan on CI

Signed-off-by: Dietrich Krönke <[email protected]>
Signed-off-by: Dietrich Krönke <[email protected]>

iox-eclipse-iceoryx#433 asan only for Github CI

Signed-off-by: Dietrich Krönke <[email protected]>
Signed-off-by: Dietrich Krönke <[email protected]>
@dkroenke dkroenke added the tooling All iceoryx related tooling (scripts etc.) label Dec 19, 2020
iceoryx_binding_c/CMakeLists.txt Outdated Show resolved Hide resolved
iceoryx_dds/CMakeLists.txt Outdated Show resolved Hide resolved
iceoryx_meta/CMakeLists.txt Outdated Show resolved Hide resolved
mossmaurice
mossmaurice previously approved these changes Dec 22, 2020
In Integrationtests are multiple classes within one component (e.g. iceoryx_posh) tested together.
The sourcecode of the tests is placed into the folder `test` within the different iceoryx components. You can find there at least a folder `moduletests` and sometimes ``integrationtests`.

when you now want to create a new test you can place the sourcefile directly into the right folder. Cmake will automatically detect the new file when doing a clean build and will add it to a executable. There is no need to add a gtest main function because we already provide it.
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be Now, when you want.. better?

tools/docker/Dockerfile Show resolved Hide resolved
tools/iceoryx_build_test.sh Outdated Show resolved Hide resolved
tools/iceoryx_build_test.sh Outdated Show resolved Hide resolved
@@ -54,6 +54,7 @@ const EventInfo& Trigger::getEventInfo() const noexcept
void Trigger::invalidate() noexcept
{
m_hasTriggeredCallback = cxx::ConstMethodCallback<bool>();
m_resetCallback = cxx::MethodCallback<void, uint64_t>();
Copy link
Member

Choose a reason for hiding this comment

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

@budrus @elfenpiff can you confirm that this is correct?

@dkroenke dkroenke dismissed elfenpiff’s stale review December 22, 2020 13:09

I will follow up in the next tooling PR and discuss with you iceoryx_meta and the CI

@dkroenke dkroenke merged commit 56e2f18 into eclipse-iceoryx:master Dec 22, 2020
@dkroenke dkroenke deleted the iox-#433-rework-build-test-tooling branch December 22, 2020 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling All iceoryx related tooling (scripts etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rework build and test steps in iceoryx
5 participants