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

Fix test skipping logic for missing pytest module #441

Merged
merged 1 commit into from Apr 12, 2023

Conversation

cottsay
Copy link
Contributor

@cottsay cottsay commented Apr 12, 2023

Existing behavior is to return() from the top-level CMake script if pytest is absent, which means that the package isn't ever built or installed.

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

Follow-up to #440 and #381.

Signed-off-by: Scott K Logan <logans@cottsay.net>
@cottsay cottsay added the bug Something isn't working label Apr 12, 2023
@cottsay cottsay self-assigned this Apr 12, 2023
@cottsay cottsay requested a review from mjeronimo as a code owner April 12, 2023 03:40
@clalancette clalancette merged commit a12d1cf into rolling Apr 12, 2023
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the cottsay/no-pytest-skip branch April 12, 2023 12:11
ejalaa12 pushed a commit to ejalaa12/ament_cmake that referenced this pull request Nov 8, 2023
Signed-off-by: Scott K Logan <logans@cottsay.net>
clalancette pushed a commit that referenced this pull request Nov 10, 2023
* backport merge #381 to humble

* ament_cmake_pytest needs a buildtool_depend on ament_cmake_test. (#439)

* Add missing buildtool_depend on python3-pytest (#440)

* Fix test skipping logic for missing pytest module (#441)

Signed-off-by: Alaa El Jawad <ejalaa12@gmail.com>
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Signed-off-by: Scott K Logan <logans@cottsay.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants