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

Feature gate test_default_battery_movement #582

Merged

Conversation

bowlofeggs
Copy link
Contributor

Description

test_default_battery_movement() is now feature gated on the
battery feature.

fixes #581

Signed-off-by: Randy Barlow randy@electronsweatshop.com

Issue

See #581 - Gentoo now passes tests with and without the feature enabled.

Closes: #581

Testing

I ran the test suite with and without the feature enabled, both on Fedora 33 and Gentoo's ebuild environment.

Furthermore, mark which platforms this change was tested on. All platforms directly affected by the change must be tested

  • Windows
  • macOS
  • Linux

Checklist

If relevant, ensure the following have been met:

  • Areas your change affects have been linted using rustfmt (cargo fmt)
  • The change has been tested and doesn't appear to cause any unintended breakage
  • Documentation has been added/updated if needed (README.md, help menu, etc.)
  • The pull request passes the provided CI pipeline
  • There are no merge conflicts

test_default_battery_movement() is now feature gated on the
battery feature.

fixes ClementTsang#581

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
bowlofeggs added a commit to bowlofeggs/gentoo that referenced this pull request Sep 18, 2021
I have applied patches here to address two vulnerable dependencies[0]
and a failing test[1].

[0] ClementTsang/bottom#580
[1] ClementTsang/bottom#582

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
bowlofeggs added a commit to bowlofeggs/gentoo that referenced this pull request Sep 18, 2021
I have applied patches here to address two vulnerable dependencies[0]
and a failing test[1].

[0] ClementTsang/bottom#580
[1] ClementTsang/bottom#582

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
bowlofeggs added a commit to bowlofeggs/gentoo that referenced this pull request Sep 18, 2021
I have applied patches here to address two vulnerable dependencies[0]
and a failing test[1].

This fixes RUSTSEC-2021-0003[2] and RUSTSEC-2021-0093[3].

[0] ClementTsang/bottom#580
[1] ClementTsang/bottom#582
[2] https://rustsec.org/advisories/RUSTSEC-2021-0003
[3] https://rustsec.org/advisories/RUSTSEC-2021-0093

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
@ClementTsang
Copy link
Owner

LGTM.

@all-contributors add @bowlofeggs for code.

@allcontributors
Copy link
Contributor

@ClementTsang

I've put up a pull request to add @bowlofeggs! 🎉

@ClementTsang ClementTsang merged commit f036a65 into ClementTsang:master Sep 18, 2021
@bowlofeggs bowlofeggs deleted the bowlofeggs-0.6.4-battery-test branch September 18, 2021 19:34
gentoo-bot pushed a commit to gentoo/gentoo that referenced this pull request Sep 18, 2021
I have applied patches here to address two vulnerable dependencies[0]
and a failing test[1].

This fixes RUSTSEC-2021-0003[2] and RUSTSEC-2021-0093[3].

[0] ClementTsang/bottom#580
[1] ClementTsang/bottom#582
[2] https://rustsec.org/advisories/RUSTSEC-2021-0003
[3] https://rustsec.org/advisories/RUSTSEC-2021-0093

Closes: #22328
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
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.

test_default_battery_movement fails when battery feature is disabled
2 participants