Hi. I think that you should run the junit test generated by gunit instead of 
the interpreter mode. does it look like the Java version generates junit from 
gunit? I can't remember!

java junit.textui.TestRunner testLists

Ter

On Apr 2, 2012, at 8:31 AM, Alan Condit wrote:

> I am working on the Objective-C runtime for ST4. I am having trouble at the 
> moment with testLists (testListLiteralWithEmptyElements).
> 
> I need to be able to run the tests under java to compare my results with the 
> results under java to see if I can narrow down the source of the problem.
> 
> I created a script file testLists.gunit that says "gunit testLists;"
> I tried running it with this command:
> java org.antlr.gunit.Interp testLists.gunit
> 
> and got the following result:
> -----------------------------------------------------------------------
> executing testsuite for grammar:TestLists with 0 tests
> -----------------------------------------------------------------------
> 0 failures found:
> Tests run: 0, Failures: 0
> 
> 
> HELP!!!!
> 
> Can someone tell me the correct Java command to run the test 
> testListLiteralWithEmptyElements from the file "testLists.java"?
> 
> Alan
> ---
> 
> Alan Condit
> 1085 Tierra Ct.
> Woodburn, OR 97071
> 
> Email -- acon...@ipns.com
> Home-Office (503) 982-0906

_______________________________________________
antlr-dev mailing list
antlr-dev@antlr.org
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to