Comments (5)
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.
The problem is that we seem to be accumulating color sequence codes on each label:
- 1st test: 1 sequence
- 2nd test: 2 sequences
- 3rd test: 3 sequences
This seems to be an actual bug.
from avocado.
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.
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.
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)
- New 92.X LTS version? :-) HOT 3
- [drive-by feedback] Update the GHA workflow for publishing to the PyPI HOT 2
- Avocado fails with dependency duplicates
- Issues converting cache_dirs configuration option as list in _avocado/core/settings.py _as_list(value) method HOT 2
- Debian/Ubuntu packaging HOT 1
- TAP14 update for avocado output plugin
- Guest connection with multiple transports: ssh, console HOT 1
- Time normalization HOT 1
- Dependency in recipes is not working HOT 1
- Avocado Coverage.py behaviour doesn't correspond to documentation
- Recipe resolver resolves non-existent tests HOT 3
- exec-test: allow setting of the working directory
- HTML Report is missing HOT 1
- file executable permissions check error on macos in docker container HOT 4
- Extra flexibility for the default test suite class for custom schedulers
- Avocado lint check is not working on python3.12 HOT 3
- Create more robust solution for file executable permissions check
- Suite / Job Configuration not respected in runnables created from recipe in runnable-recipe(s) resolver
- Runnable (and thus Task) identifiers explicitly set (instead of through identifier formats)
- Unable to install avocado-framework-plugin-varianter-yaml-to-mux using pip3 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avocado.