Giter Site home page Giter Site logo

Comments (4)

tkruse avatar tkruse commented on August 29, 2024

well, ... get zsh?
If rosinstall supports zsh tab completion, and we want to make sure we don't break it, I see little alternatives as to install zsh for the tests.

from rosinstall.

tfoote avatar tfoote commented on August 29, 2024

It would be a lot cleaner to instead of asserting zsh is present to test if zsh is present and skip the zsh test if not present. Otherwise this is an undeclared dependency and adding zsh is a little backwards. Likewise bash should probably be detected and conditionally skipped.

from rosinstall.

tkruse avatar tkruse commented on August 29, 2024

-1
"clean" and "backward" seem rather subjective, and I happen to see this in the opposite way. bash and zsh are not runtime dependencies, because users are free to use rosinstall without either. They are however test dependencies (like mock or nose) because anyone touching any generated *.sh file should get a failure as soon as possible if breaking bash or zsh. skipping tests because test dependencies are not met is not a valid approach (we would not think of it for mock or nose neither).
Skipping tests should not be an option for the lazy, it is a last-resort method when a test is near-impossible to be made to run. "sudo apt-get install zsh" is not near impossible.

I bet if we had skipping in place, you would not even have so much as blinked at the test results, and never thought of installing zsh. That in itself is a benefit of this test.

from rosinstall.

dirk-thomas avatar dirk-thomas commented on August 29, 2024

Closing since the repository is about to be archived: see #126.

from rosinstall.

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.