Support for path equivalence/relocation.
まだ誰も着手していません。
評価
調査の方向性
Read the path-equivalence proposal in linked issue #547 and trace how Slather invokes llvm-cov for coverage reports. Determine where path remapping belongs in that invocation and how it should work with the demonstrated --source-directory and binary arguments. Done means coverage reports can resolve source files when the build and reporting trees use different paths; the issue names no files or tests.
索引モデルが issue の本文から書いたものです。
説明
We're using slather for coverage reporting on CI, and in our case the job that runs coverage does not have access to the source tree at the exact location used for building the project. As a result, currently slather fails to produce the expected reports because llvm-cov complaints "Source file does not exist, proceeded by ignoring it".
bundle exec slather coverage --sonarqube-xml --verbose --scheme Foo --input-format profdata --source-directory . --binary-file DerivedData/YYY/Build/Products/Debug-iphonesimulator/ZZZ/ZZZ.framework/ZZZ --build-directory .DerivedData --arch arm64 Pods/Pods.xcodeproj
Slathering...
Processing coverage file: /XXX/DerivedData/Marktplaats/Build/ProfileData/67DAEC2E-11AB-4752-A18D-98187A5CE519/Coverage.profdata
Against binary files:
DerivedData/YYY/Build/Products/Debug-iphonesimulator/ZZZ/ZZZ.framework/ZZZ
warning: /MMM/Modules/Foo/Sources/Foo/Dependencies/Bar.swift: Source file doesn't exist, proceeded by ignoring it.
From what I learned, to solve this, we need support for path-equivalence in llvm-cov, the idea is illustrated in #547.
- 主要言語
- Ruby
- スター
- 1.6k
- フォーク
- 239
- 平均マージ
- 10時間 19分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
SlatherOrg/slather のほかの issue
-
2.8.6: NoMethodError "undefined method 'first'" in profdata_coverage_dir whenever --scheme is used対応中かも @MirekNalepa が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
SlatherOrg/slather#586 · コメント 4 件 · リアクション 4 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
SlatherOrg/slather#582 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
SlatherOrg/slather#580 · コメント 9 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 56/100
SlatherOrg/slather#578 · コメント 3 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
SlatherOrg/slather#577 ·
SlatherOrg/slather の issue をすべて見る
似ている issue
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
manyfold3d/manyfold#7346 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
🐞 bug pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
CircuitVerse/CircuitVerse#8025 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
we-promise/sure#4199 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
riscv/riscv-unified-db#2738 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
scanaislop/aislop#482 ·
メンテナーはふだん 1 日以内に返信