ZenTest (autotest) fails to run
-------------------------------

                 Key: JRUBY-1442
                 URL: http://jira.codehaus.org/browse/JRUBY-1442
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.0.1, JRuby 1.1.0
         Environment: Linux, ZenTest (3.6.1)
            Reporter: Martin Krauskopf


$ ruby $GEM_HOME/bin/autotest -v

works fine. When I run with JRuby (trunk or 1.0.1 bundled with NetBeans):

$ jruby $GEM_HOME/bin/autotest -v

{code}
/space/ruby/sources/jruby/bin/jruby -I.:lib:test -rtest/unit -e 
"%w[test/test.rb].each { |f| require f }" | unit_diff -u
invalid option: -u
Test::Unit automatic runner.
Usage: -e [options] [-- untouched arguments]

    -r, --runner=RUNNER              Use the given RUNNER.
                                     (c[onsole], f[ox], g[tk], g[tk]2, t[k])
    -n, --name=NAME                  Runs tests matching NAME.
                                     (patterns may be used).
    -t, --testcase=TESTCASE          Runs tests in TestCases matching TESTCASE.
                                     (patterns may be used).
    -v, --verbose=[LEVEL]            Set the output level (default is verbose).
                                     (s[ilent], p[rogress], n[ormal], v[erbose])
        --                           Stop processing options so that the
                                     remaining options will be passed to the
                                     test.
    -h, --help                       Display this help.

Deprecated options:
        --console                    Console runner (use --runner).
        --gtk                        GTK runner (use --runner).
        --fox                        Fox runner (use --runner).
{code}

Seems that '-u' is passed to the test runner instead of unit_diff?


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to