Comments (2)
Hi @michael-o thanks for reporting this! Indeed we don't run our regression tests on windows. Indeed it looks like windows has different escape logic.
Do you know how Maven handles this and if there is an implementation or test suite we can use as a reference?
Yes, Maven delegates this to Maven Shared Utils which includes a system specific command launcher. For now, I have modified this in Surefire: https://github.com/apache/maven-surefire/pull/705/files
Maven logic used throughout: https://github.com/apache/maven-shared-utils/tree/maven-shared-utils-3.4.2/src/main/java/org/apache/maven/shared/utils/cli. Entrypoint for you https://github.com/apache/maven-shared-utils/blob/2dc9eb5ea2b4ed2573bd96282a16e0340083c87a/src/main/java/org/apache/maven/shared/utils/cli/CommandLineUtils.java#L76-L79. It will either pick Bourne shell or cmd.exe
and quote as necessary.
I consider the current escaping completely designed for Bourne shell.
from jacoco.
Hi @michael-o thanks for reporting this! Indeed we don't run our regression tests on windows. Indeed it looks like windows has different escape logic.
Do you know how Maven handles this and if there is an implementation or test suite we can use as a reference?
from jacoco.
Related Issues (20)
- Jacoco 0.8.11 not working for offline instrumentation HOT 4
- Jacoco 0.8.11 not working for offline instrumentation HOT 1
- Report-aggregate better configurable from mvn command
- Partial branch coverage being shown on exhaustive switch statements HOT 4
- Jacoco requires coverage threshold lower than generated coverage HOT 1
- Investigate why Kotlin K2 compiler produces line numbers in the enums `getEntries` method HOT 2
- Jacoco merge/generate: Execution data for class does not match HOT 5
- Error while analyzing xx\lib\asrt.jar@com/inprise/ejb/Global.class with JaCoCo 0.8.11.202310140853/f33756c. HOT 1
- @ShouldNeverExecute annotation or alternative HOT 1
- Using instrumented code for coverage HOT 2
- Jacoco stopped reporting android unit test coverage HOT 5
- exhaustive switch expression is not fully covered HOT 2
- Filter for empty constructors that do not have arguments should be expanded
- It is laways good to show the in he horrizontal bar, gree <covered code lines %> first then red <how much still to be covered> HOT 2
- Error generating coverage report for working Kotlin 1.9.22 code using jacoco 0.8.9 (cannot reproduce in 0.8.11) HOT 6
- Excluding method patterns
- Should ignore `kotlin.KotlinNothingValueException` throwing code, that is generated code (by Kotlin compiler)
- Report issues on line numbers that are out of range in the file and throwing errors HOT 4
- report-aggregate for multi-module site does not produce correct reports HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jacoco.