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

cargo kcov doesn't work on arm64 #40

Open
andreeaflorescu opened this issue Apr 8, 2019 · 1 comment
Open

cargo kcov doesn't work on arm64 #40

andreeaflorescu opened this issue Apr 8, 2019 · 1 comment

Comments

@andreeaflorescu
Copy link

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

What I've tried so far:

  • cargo kcov <- this command ends up printing the help from kcov which makes me think that maybe parameters like are not correctly sent to kcov?
  • Cloned this repository and ran the unit tests (on master). test_specimen hangs:
> git clone git clone git@github.com:kennytm/cargo-kcov.git
> cd cargo-kcov
> cargo test

     Running `target/debug/cargo-kcov kcov --manifest-path specimen/Cargo.toml --all`
kcov: warning: kcov: WARNING: kcov has been built without libbfd-dev (or
kcov: binutils-dev), so the --verify option will not do anything.

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
Copy link
Author

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.

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

1 participant