Support for path equivalence/relocation.
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Ruby
- Estrellas
- 1.6k
- Forks
- 239
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 2
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de SlatherOrg/slather
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
SlatherOrg/slather#582 · 1 comentario ·
-
is xcode 26 already supported?Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
SlatherOrg/slather#580 · 9 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 56/100
SlatherOrg/slather#578 · 3 comentarios · 1 reacción ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
SlatherOrg/slather#577 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
SlatherOrg/slather#576 · 2 comentarios ·
Todos los issues de SlatherOrg/slather
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 7 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 7 días
-
NoMethodError in auth#createAbiertobugsnag
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
JoeMcB/improvcoaches#827 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
TheOdinProject/curriculum#31465 ·
Los mantenedores suelen responder en 1 día
-
area: docs eco: ruby good first issue help wanted lane: free-agent roadmap size: XS type: docs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 66/100
arminazimi/evergreen#465 ·
Los mantenedores suelen responder en 1 día