Closed weiznich closed 4 months ago
This is a similar case of https://github.com/taiki-e/cargo-llvm-cov/issues/334.
The same flags (--cargo-profile
) need to be passed to both cargo llvm-cov nextest-archive
and cargo llvm-cov nextest --archive-file
, but cargo-llvm-cov is not working because it propagates them to cargo nextest .. --extract-to
.
error: the argument '--extract-to <DIR>' cannot be used with:
Ideally I would like to embed information about the flags passed to cargo llvm-cov nextest-archive
to the archive created by nextest-archive to eliminate the need to pass the same flags to cargo llvm-cov nextest --archive-file
, but I don't know if nextest supports that.
I've run the following commands:
while having a custom cargo profile
test-jenkins
that just disable incremental compilation.This fails after running the tests with the following output:
Likely that's related to the fact that it search in the wrong path for the mentioned object files. I would expect them in
/src/target/llvm-cov-target/target/test-jenkins
instead. It works fine as long as I don't specify a profile at all.