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

Failure in generating xml #29

Open
Sov-trotter opened this issue Jun 3, 2022 · 1 comment
Open

Failure in generating xml #29

Sov-trotter opened this issue Jun 3, 2022 · 1 comment

Comments

@Sov-trotter
Copy link

Sov-trotter commented Jun 3, 2022

julia> generate_coverage("TestPg", genxml=true)
     Testing TestPg
      Status `/tmp/jl_4ydx8c/Project.toml`
  [5bb073ab] TestPg v0.1.0 `~/.julia/dev/TestPg`
  [8dfed614] Test `@stdlib/Test`
      Status `/tmp/jl_4ydx8c/Manifest.toml`
  [5bb073ab] TestPg v0.1.0 `~/.julia/dev/TestPg`
  [2a0f44e3] Base64 `@stdlib/Base64`
  [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
  [56ddb016] Logging `@stdlib/Logging`
  [d6f4376e] Markdown `@stdlib/Markdown`
  [9a3f8284] Random `@stdlib/Random`
  [ea8e919c] SHA `@stdlib/SHA`
  [9e88b42a] Serialization `@stdlib/Serialization`
  [8dfed614] Test `@stdlib/Test`
     Testing Running tests...
Test Summary: | Pass  Total
TestPg.jl     |    2      2
     Testing TestPg tests passed 
[ Info: CoverageTools.process_folder: Searching src for .jl files...
[ Info: CoverageTools.process_file: Detecting coverage for src/TestPg.jl
[ Info: CoverageTools.process_cov: processing src/TestPg.jl.24086.cov
[ Info: CoverageTools.process_cov: processing src/TestPg.jl.26183.cov
[ Info: CoverageTools.process_cov: processing src/TestPg.jl.26261.cov
[ Info: CoverageTools.process_cov: processing src/TestPg.jl.27167.cov
[ Info: CoverageTools.process_cov: processing src/TestPg.jl.27678.cov
Reading data file coverage/lcov.info
Resolved relative source file path "src/TestPg.jl" with CWD to "/home/ezio/.julia/dev/TestPg/src/TestPg.jl".
Found 1 entries.
Found common filename prefix "/home/ezio/.julia/dev/TestPg"
Writing .css and .png files.
Generating output.
Processing file src/TestPg.jl
Writing directory view page.
Overall coverage rate:
  lines......: 42.9% (3 of 7 lines)
  functions..: no data found
[ Info: generated coverage HTML
ERROR: IOError: could not spawn setenv(`lcov_cobertura lcov.info -o cov.xml`; dir="/home/ezio/.julia/dev/TestPg/src/../coverage"): no such file or directory (ENOENT)
Stacktrace:
 [1] run
   @ ./process.jl:444 [inlined]
 [2] generate_xml(pkg::String, filename::String) (repeats 2 times)
   @ LocalCoverage ~/.julia/packages/LocalCoverage/CZlOI/src/LocalCoverage.jl:133
 [3] generate_coverage(pkg::String; genhtml::Bool, show_summary::Bool, genxml::Bool)
   @ LocalCoverage ~/.julia/packages/LocalCoverage/CZlOI/src/LocalCoverage.jl:182
 [4] top-level scope
   @ REPL[2]:1

OS: Manjaro
lcov installed - version 1.15
lcov_cobertura : 2.0.1

@Sov-trotter Sov-trotter changed the title Generating xml fails Failure in generating xml Jun 3, 2022
@tpapp
Copy link
Collaborator

tpapp commented Aug 27, 2022

Can you please check again with current master?

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

No branches or pull requests

2 participants