Comments (6)
definitely a bug in autotest, do you have any more backtrace / hints what could be the problem ?
from autotest.
I have tracked that the bug is because of the cmd being generated. In run_tests method of autotest.rb, the cmd being generated is the following :
C:\Ruby\bin\ruby -I.;lib;test -rubygems -e "['test/unit', 'test/test_unit_diff.rb', 'test/test_autotest.rb', 'test/test_autotest_integration.rb'].each { |f| require f }" | C:/Ruby/lib/ruby/gems/1.8/gems/autotest-4.4.5/bin/unit_diff -u
I think it should instead be
C:\Ruby\bin\ruby -I.;lib;test -rubygems -e "['test/unit', 'test/test_unit_diff.rb', 'test/test_autotest.rb', 'test/test_autotest_integration.rb'].each { |f| require f }" | unit_diff -u
because 'unit_diff' will be installed as a batch file in windows. Also, the slashes should be backward slashes in windows.
from autotest.
so just using backslashes would not work ?
from autotest.
No it would not, because only unit_diff.rb is present in that directory and this cannot be run as a command. Instead if unit_diff is specified, it will run the batch file present in c:\ruby\bin
from autotest.
sounds strange, there should be unti_diff file, not unit_diff.rb, can you give the 'just replace backslashes' a try, would be nice if there could be less windows specific code
from autotest.
Fixed
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
- [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.