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

👩‍🌾 Clear Windows warnings (backport #58) #102

Merged
merged 2 commits into from
Mar 2, 2021

Conversation

chapulina
Copy link
Contributor

⬅️ Backport

Backport #58 to ign-sensors3.

Note to maintainers: Remember to Squash-merge


https://github.com/osrf/buildfarmer/issues/161

Signed-off-by: Louise Poubel <[email protected]>
@codecov
Copy link

codecov bot commented Feb 25, 2021

Codecov Report

Merging #102 (8ccadde) into ign-sensors3 (75e89ad) will increase coverage by 0.00%.
The diff coverage is 85.71%.

Impacted file tree graph

@@              Coverage Diff              @@
##           ign-sensors3     #102   +/-   ##
=============================================
  Coverage         77.13%   77.14%           
=============================================
  Files                23       23           
  Lines              2305     2306    +1     
=============================================
+ Hits               1778     1779    +1     
  Misses              527      527           
Impacted Files Coverage Δ
include/ignition/sensors/Manager.hh 75.00% <ø> (ø)
include/ignition/sensors/SensorFactory.hh 69.23% <ø> (ø)
src/AirPressureSensor.cc 85.91% <ø> (ø)
src/AltimeterSensor.cc 88.23% <ø> (ø)
src/CameraSensor.cc 74.81% <ø> (ø)
src/GpuLidarSensor.cc 88.38% <ø> (ø)
src/ImageGaussianNoiseModel.cc 80.00% <ø> (ø)
src/ImuSensor.cc 90.19% <ø> (ø)
src/MagnetometerSensor.cc 88.37% <ø> (ø)
src/Noise.cc 73.33% <ø> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 75e89ad...8ccadde. Read the comment docs.

@chapulina chapulina merged commit 9a48263 into ign-sensors3 Mar 2, 2021
@chapulina chapulina deleted the chapulina/3/58 branch March 2, 2021 19:00
chapulina added a commit that referenced this pull request Mar 18, 2021
* Prepare fo 3.2.0 release (#94)

Signed-off-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>

* Backport #60 from ign-sensors4

Fix macOS/windows tests that failed to load library (#60)

* Add workflow for macos-latest
* Set test env to help find plugins

This fixes tests on macOS and windows that were failing to
find and/or load a sensor component library.

In windows CI and the macOS workflow (which runs `make test`
before `make install`) tests were failing with
the message "Unable to find sensor plugin path".
This is fixed by setting the IGN_PLUGIN_PATH in cmake to
the build folder containing the compiled plugins.

In the macOS jenkins build (which runs `make test` after
`make install`) tests were failing with the message
"SDF sensor type does not match template type". It was
difficult to track down, but it appears to be caused by
a failure to properly dlopen all the shared libraries
linked by the component plugins when a test finds an
installed component library, rather than one from the build
folder. It is fixed by setting DYLD_LIBRARY_PATH to include
the location of the installed libraries.

Fixes #4.

* Remove redundant AddPluginPaths calls from tests

They don't work on windows, so just depend on the
environment variables set in cmake instead.

Signed-off-by: Steve Peters <[email protected]>

* 👩‍🌾 Clear Windows warnings (backport #58) (#102)

Signed-off-by: Louise Poubel <[email protected]>

Co-authored-by: Alejandro Hernández Cordero <[email protected]>

* Master branch updates (#106)

Signed-off-by: Louise Poubel <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>
Co-authored-by: Nate Koenig <[email protected]>
Co-authored-by: Steve Peters <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏰 citadel Ignition Citadel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants