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

Maven Test-Cases header #4216

Merged
merged 3 commits into from
Jul 7, 2020
Merged

Maven Test-Cases header #4216

merged 3 commits into from
Jul 7, 2020

Conversation

bjhargrave
Copy link
Member

Stop erroring if sort list is empty. Warn is Test-Cases header is empty for bnd-process-tests.

See #4213.

Instead of emitting an error message, we should handle empty lists in
the sort macros. The uniq macro already handles empty lists.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
We also make the logger object accessible to subclasses.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
We also change the check for whether the Test-Cases header is set to
use getUnexpanded property since we only need to know that the user has
set the header.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
@bjhargrave bjhargrave requested a review from rotty3000 July 6, 2020 15:41
@kriegfrj
Copy link
Contributor

kriegfrj commented Jul 6, 2020

See also #4088

@bjhargrave bjhargrave merged commit 38ef85e into bndtools:master Jul 7, 2020
@bjhargrave bjhargrave deleted the maven-test-cases-header branch July 7, 2020 13:24
@bjhargrave bjhargrave linked an issue Jul 15, 2020 that may be closed by this pull request
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.

macro: Handle sorting empty lists
2 participants