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

Support meson in regression tests harness #14183

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

fredmorcos
Copy link
Contributor

Short description

Adds meson support into the auth backend regression tests harness.
The CI parts are still missing and I'll add them in a later PR, they're quite the headache for now.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

@fredmorcos fredmorcos requested a review from Habbie May 16, 2024 12:43
@fredmorcos fredmorcos self-assigned this May 16, 2024
@fredmorcos fredmorcos force-pushed the auth-regression-tests-meson branch from 44db47f to 65ea611 Compare May 16, 2024 12:43
@coveralls
Copy link

coveralls commented May 16, 2024

Pull Request Test Coverage Report for Build 9480790598

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 92 unchanged lines in 15 files lost coverage.
  • Overall coverage increased (+3.3%) to 64.609%

Files with Coverage Reduction New Missed Lines %
pdns/packethandler.cc 1 72.82%
pdns/pollmplexer.cc 1 83.66%
pdns/tcpiohandler.cc 2 66.67%
pdns/rcpgenerator.cc 2 89.77%
pdns/iputils.cc 3 55.45%
pdns/recursordist/test-syncres_cc2.cc 3 88.85%
pdns/dnsdistdist/dnsdist-carbon.cc 3 64.68%
pdns/backends/gsql/gsqlbackend.hh 3 96.57%
modules/gpgsqlbackend/spgsql.cc 3 67.7%
pdns/shuffle.cc 4 39.69%
Totals Coverage Status
Change from base Build 9480112502: 3.3%
Covered Lines: 124361
Relevant Lines: 161734

💛 - Coveralls

Copy link
Member

@Habbie Habbie left a comment

Choose a reason for hiding this comment

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

LGTM. Is the increased loglevel left in on purpose?

@Habbie
Copy link
Member

Habbie commented May 17, 2024

@fredmorcos
Copy link
Contributor Author

LGTM. Is the increased loglevel left in on purpose?

That was supposed to be part of the other PR which added some logging for backend loading. It's already merged and the loglevels got in here by accident. I want to keep them if that's OK for you.

at least one thing failed https://github.com/PowerDNS/pdns/actions/runs/9112492048/job/25051863344#step:13:626

I'll look into it. The failure makes sense, but what doesn't is why it didn't fail before.

@fredmorcos fredmorcos force-pushed the auth-regression-tests-meson branch 3 times, most recently from 1e90254 to 955c9f8 Compare June 7, 2024 08:41
@fredmorcos fredmorcos requested a review from Habbie June 10, 2024 09:11
Copy link
Contributor

@romeroalx romeroalx left a comment

Choose a reason for hiding this comment

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

We just reviewed this PR with @fredmorcos and he will make a minor change. Adding this comment to prevent an accidental merge.

Copy link
Contributor

@romeroalx romeroalx left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you @fredmorcos

This also ensures that PDNS_BUILD_PATH is set to `.` when the user does not pass it. This
stays consistent with the behavior we previously had.
@fredmorcos fredmorcos merged commit 1049daf into PowerDNS:master Jun 12, 2024
79 checks passed
@fredmorcos fredmorcos deleted the auth-regression-tests-meson branch June 12, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants