2011-11-18 52 views
2

我當然做錯了,但antlr的gunit似乎沒有選擇的用戶。antlr.gunit.Interp有什麼選項?如何打開它的詳細選項?

bash-3.2$ java org.antlr.gunit.Interp --help 
Exception in thread "main" java.io.FileNotFoundException: --help (No such file or directory) 
    at java.io.FileInputStream.open(Native Method) 
    at java.io.FileInputStream.<init>(FileInputStream.java:120) 
    at java.io.FileInputStream.<init>(FileInputStream.java:79) 
    at org.antlr.runtime.ANTLRFileStream.load(ANTLRFileStream.java:59) 
    at org.antlr.runtime.ANTLRFileStream.<init>(ANTLRFileStream.java:47) 
    at org.antlr.runtime.ANTLRFileStream.<init>(ANTLRFileStream.java:42) 
    at org.antlr.gunit.Interp.main(Interp.java:62) 
bash-3.2$ 

特別是,我想打開詳細的選項,否則它告訴真的很少發生錯誤。
你知道如何打開它的詳細/調試選項嗎?

[java] ----------------------------------------------------------------------- 
[java] executing testsuite for grammar:while with 31 tests 
[java] ----------------------------------------------------------------------- 
[java] 2 failures found: 
[java] test15 (variables, line20) - 
[java] expected: OK 
[java] actual: FAIL 
[java] 
[java] test20 (read, line27) - 
[java] expected: OK 
[java] actual: FAIL 
[java] 
+0

應該對每個gunit用戶都很有趣? – zell

回答