kennytm / cargo-kcov

Cargo subcommand to run kcov to get coverage report on Linux
127 stars 20 forks source link

cargo kcov doesn't work on arm64 #40

Open andreeaflorescu opened 5 years ago

andreeaflorescu commented 5 years ago

I am trying to run cargo kcov on ARM and it doesn't seem to work.

What I've tried so far:

test test_specimen ... test test_specimen has been running for over 60 seconds ^Ckcov: Process exited with signal 2 (SIGINT) at 0x0



I am running on an Ubuntu-18.04, kcov version 36.
andreeaflorescu commented 5 years ago

Verbose output on ARM:

       Build test executables
    Coverage found the following executables: []
     Running "kcov" "--merge" "--exclude-pattern=/root/.cargo" "--verify" "/kvm-ioctls/target/cov"

Verbose output on x86_64:

       Build test executables
    Coverage found the following executables: ["/kvm-ioctls/target/debug/deps/kvm_ioctls-867137c2bffdc532"]
     Running "kcov" "--exclude-pattern=/root/.cargo" "--verify" "/kvm-ioctls/target/cov/kvm_ioctls-867137c2bffdc532" "/kvm-ioctls/target/debug/deps/kvm_ioctls-867137c2bffdc532"

It looks like there's a problem in finding the targets.