Real Basic Fast Test for Joshua

10 views
Skip to first unread message

Lewis John Mcgibbney

unread,
Nov 6, 2015, 3:53:41 PM11/6/15
to joshua_d...@googlegroups.com
Hi Folsk,
Right now I am testing Joshua installation similar to the following example
http://joshua-decoder.org/6.0/quick-start.html
The only problem with this is that Homebrew Jenkins CI builds fail the build with a timeout issue. This is due to the following step taking quite a while

  cmd=java -d64 -Xmx10g -jar /usr/local/Cellar/joshua/6.0.5/libexec/lib/berkeleyaligner.jar ++alignments/0/word-align.conf

Does anyone have a better, QUICKER suggestion for testing that Joshua is installed. I am NOT talking about JUnit tests which can be invoked from Ant. Unit tests so not test the software is installed.

Thanks
Lewis



--
Lewis

Matt Post

unread,
Nov 6, 2015, 4:01:26 PM11/6/15
to joshua_d...@googlegroups.com
If I understand, this is an automated build test designed just to check whether Joshua is installed correctly? I'd suggest a much simpler test, such as running some or all of the tests under $JOSHUA/test.

e.g., "ant test" will run them all (this takes a few minutes to run)

Or you could just do something like

echo test | $JOSHUA/bin/joshua -v 0 -output-format %s -mark-oovs

which should output "test_OOV" if the decoder is working correctly.


--
You received this message because you are subscribed to the Google Groups "Joshua Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joshua_develop...@googlegroups.com.
To post to this group, send email to joshua_d...@googlegroups.com.
Visit this group at http://groups.google.com/group/joshua_developers.
For more options, visit https://groups.google.com/d/optout.

Lewis John Mcgibbney

unread,
Nov 6, 2015, 9:48:06 PM11/6/15
to Joshua Developers
ACK. This sounds much more reasonable.
The previous test was a bad boy.
Reply all
Reply to author
Forward
0 new messages