Skip to content

Use relative debug altlink in test binary - #1671

Merged
d-e-s-o merged 1 commit into
libbpf:mainfrom
d-e-s-o:topic/fix-ci
Sep 22, 2026
Merged

d-e-s-o merged 1 commit into
libbpf:mainfrom
d-e-s-o:topic/fix-ci

Conversation

@d-e-s-o

@d-e-s-o d-e-s-o commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

One of the debug altlink tests broke on Mac OS and Windows in CI. The reason being that the corresponding CI jobs use out-of-band produced test artifacts, which are implicitly assumed to be "relocatable". That's violated with out debug altlink artifacts, which currently embed absolute paths.
Switch over to using relative ones to fix this problem.

One of the debug altlink tests broke on Mac OS and Windows in CI. The
reason being that the corresponding CI jobs use out-of-band produced
test artifacts, which are implicitly assumed to be "relocatable". That's
violated with out debug altlink artifacts, which currently embed
absolute paths.
Switch over to using relative ones to fix this problem.

Signed-off-by: Daniel Müller <deso@posteo.net>
@d-e-s-o
d-e-s-o enabled auto-merge (rebase) September 22, 2026 20:11
@d-e-s-o
d-e-s-o merged commit bd6230b into libbpf:main Sep 22, 2026
42 checks passed
@codecov

codecov Bot commented Sep 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.24%. Comparing base (99de519) to head (9e40042).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1671      +/-   ##
==========================================
+ Coverage   95.20%   95.24%   +0.04%     
==========================================
  Files          58       58              
  Lines       11293    11291       -2     
==========================================
+ Hits        10751    10754       +3     
+ Misses        542      537       -5     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@d-e-s-o
d-e-s-o deleted the topic/fix-ci branch September 22, 2026 20:27
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.

1 participant