Comments (7)
Actually the problem comes from this commit http://github.com/grosser/autotest/commit/d827a4a5004ae3d89be45b61422ad500c79d4f52 where the putc was replaced by print. When you replace it back, the coloring will work. I have no idea for what purpose it was changed ...
from autotest.
I also have this problem and changing print to putc fixed it for me.
from autotest.
The problem about using print vs putc is because print fixes the output of UTF strings, something that getc
will actually corrupt from input (try pass specs with accented characters in it).
Either way, please see the RubyInstaller thread about deprecating win32console support:
http://groups.google.com/group/rubyinstaller/browse_thread/thread/2d2a62db7281509a/
from autotest.
Does this bug effect other OSes? I get no colours in Debian (but I do in Mac OS X).
from autotest.
It could, that depends on your current encoding of the terminal and the version of Ruby you're using.
For example, usage of accented characters inside autotest could generate broken output due the usage of getc
to get a single byte and usage of print
to output it.
from autotest.
the original change was a refactoring for more readability, i reverted this and added a comment (how to test this ?)
from autotest.
You need Windows :P
But basically using putc with single characters (like it used to do) should fix this.
from autotest.
Related Issues (20)
- rails3 ruby1.9.2-p0 errors HOT 6
- Autotest doesn't work with the new way to require spec_helper in RSpec specs HOT 2
- Feature: parallel specs HOT 31
- autotest-rails-pure should require autotest HOT 3
- Start parallel_test from curent directory HOT 1
- 'C:' is not recognized as an internal or external command, (Windows Vista) HOT 6
- [Windows] autotest-standalone-4.5.2/lib/unit_diff.rb:77:in `write': Invalid argument (Errno::EINVAL) HOT 12
- Specifying the -n option on mac 10.6.6 HOT 2
- Encoding UTF-8 Error HOT 1
- Tests get run twice HOT 2
- Autotest doesn't respond to Ctrl-C HOT 15
- Autotest / spork ? HOT 4
- History.txt not updated. HOT 1
- How do I configure Autotest to run all tests whenever a file changes in either lib/ or spec/? HOT 7
- Doesn't work in Windows... HOT 1
- Question regarding the usage tip HOT 4
- Autotest delays a little bit with fsevent HOT 5
- Won't run, complains about missing require HOT 8
- No tests matched ...(every test)... HOT 2
- Does not run model tests! HOT 4
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 autotest.