GithubHelp home page GithubHelp logo

Comments (5)

yzhao1012 avatar yzhao1012 commented on May 19, 2024 2

This does not seem work as expected.

ibazel test //path/to:target -- --test_output=all

This would not make the test to produce all output as the following does:

bazel test //path/to:target --test_output all

from bazel-watcher.

achew22 avatar achew22 commented on May 19, 2024

@endobson Sorry for the really slow response. The presumption here is that you would like all blaze test args to be sent along to later commands but that we would need to filter the args list to only take things that are shaped like a target for query. That seems possible. Especially given the refactor I did recently. Is this a thing you would be interested in taking on?

from bazel-watcher.

kamalmarhubi avatar kamalmarhubi commented on May 19, 2024

Relatedly: ibazel cannot pass any arguments to bazel. I spent some time trying to understand why ibazel run //path/to:some_binary -- --an-arg wasn't working.

I'm including this here because it's related. The issue could maybe be renamed to support passing arguments to bazel.

from bazel-watcher.

ittaiz avatar ittaiz commented on May 19, 2024

from bazel-watcher.

achew22 avatar achew22 commented on May 19, 2024

When you put the extra -- in there, all flags past that are directly passed to the binary. The more equivilent command would be bazel test //path/to:target -- --test_output=all. Can you try running

ibazel test --test_output=all //path/to:target

and tell me if that works?

Also, in the future it would be nice if you could open a new issue instead of commenting on a closed one.

from bazel-watcher.

Related Issues (20)

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.