Giter VIP home page Giter VIP logo

Comments (5)

ldoktor avatar ldoktor commented on August 17, 2024

Hello Jan,

what exactly is the problem? When you run avocado interactively in terminal (with terminal support) it displays the throbber, which is the little rotating -. You can see it in the output, first test run <3s and has -\ in the output. The second test run <5s and has |/-\ in the output. What you don't see in the output is the \b character, which removes the previous character and overwrites it. So it seems that your terminal doesn't support the \b and keeps all of the char in the output.

Can you give us the environment? What terminal do you use, is it run through some logging server (beaker?) and what do you actually expect? One way to avoid using throbber (and fancy colors) is to use TERM=none avocado run ....

from avocado.

lmr avatar lmr commented on August 17, 2024

The problem is that we seem to be accumulating color sequence codes on each label:

  1. 1st test: 1 sequence
  2. 2nd test: 2 sequences
  3. 3rd test: 3 sequences

This seems to be an actual bug.

from avocado.

lmr avatar lmr commented on August 17, 2024

Hmmm, or this is simply the throbber, like you suggested, and this is not a bug. Now I'm curious as to how to reproduce this.

from avocado.

lmr avatar lmr commented on August 17, 2024

Yep, nevermind my first comment, sorry:

MOVE_BACK = '\033[1D'
MOVE_FORWARD = '\033[1C'

This is clearly throbber output that got recorded into his log file. @jscotka, you should use the trick @ldoktor proposed

export TERM=none; scripts/avocado run passtest

So that we can close this issue.

from avocado.

jscotka avatar jscotka commented on August 17, 2024

Hi,
thanks for explanation. I've missed that it is rotating char, not coloring. I had fear that I found the bug :-)

from avocado.

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.