Giter Site home page Giter Site logo

supreme-octo-chainsaw's Introduction

README

Reproduce llvm-cov with nextest flag error.

Works with nextest

[nix-shell:~/projects/llvm-cov-err]$ cargo nextest run -E "not package(exclude)"
   Compiling exclude v0.1.0 (/home/noel/projects/llvm-cov-err/exclude)
   Compiling include v0.1.0 (/home/noel/projects/llvm-cov-err/include)
    Finished test [unoptimized + debuginfo] target(s) in 0.87s
    Starting 1 tests across 2 binaries
        PASS [   0.001s] include::bin/include test::include_test
------------
     Summary [   0.002s] 1 tests run: 1 passed, 0 skipped

Fails with llvm-cov wrapper

[nix-shell:~/projects/llvm-cov-err]$ cargo llvm-cov nextest run -E "not package(exclude)"
error: error: Found argument '-E' which wasn't expected, or isn't valid in this context

        If you tried to supply `-E` as a value rather than a flag, use `-- -E`

USAGE:
    cargo llvm-cov run [OPTIONS] [-- <ARGS>...]

For more information try --help

Fails with llvm-cov wrapper using workspace and exclude flags

[nix-shell:~/projects/llvm-cov-err]$ cargo llvm-cov nextest --workspace --exclude "not package(exclude)"
   Compiling include v0.1.0 (/home/noel/projects/llvm-cov-err/include)
   Compiling exclude v0.1.0 (/home/noel/projects/llvm-cov-err/exclude)
    Finished test [unoptimized + debuginfo] target(s) in 0.25s
    Starting 2 tests across 2 binaries
        FAIL [   0.003s] exclude::bin/exclude test::exclude_test

--- STDOUT:              exclude::bin/exclude test::exclude_test ---

running 1 test
test test::exclude_test ... FAILED

failures:

failures:
    test::exclude_test

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s


--- STDERR:              exclude::bin/exclude test::exclude_test ---
thread 'main' panicked at 'this should be excluded', exclude/src/main.rs:9:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

   Canceling due to test failure: 1 tests still running
        PASS [   0.003s] include::bin/include test::include_test
------------
     Summary [   0.005s] 2 tests run: 1 passed, 1 failed, 0 skipped
error: test run failed
error: process didn't exit successfully: `/home/noel/.rustup/toolchains/nightly-2022-06-20-x86_64-unknown-linux-gnu/bin/cargo nextest run --tests --manifest-path /home/noel/projects/llvm-cov-err/Cargo.toml --target-dir /home/noel/projects/llvm-cov-err/target/llvm-cov-target` (exit status: 100)

supreme-octo-chainsaw's People

Contributors

kwannoel avatar

Stargazers

Daniel Kahlenberg avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.