Details
-
Type:
Test
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.7.0.pre1
-
Fix Version/s: JRuby 1.7.0.pre2
-
Component/s: Embedding
-
Labels:None
-
Number of attachments :
Description
Tests for embedded JRuby, like org.jruby.embed.ScriptingContainerTest, are run by the ant macro "<run-junit-embed-all/>" which is run by the target "run-junit-embed" which is run by the target "test-extended".
Neither of these targets are run by JenkinsCI, only "test" and "test-all".
I propose we add "run-junit-embed" as a dependency to the "test" target". This will add about 30 seconds to the test run, but ensure that embedding JRuby works, at least as much as has been covered by the tests.
Yeah, I had meant to get this added. The tests aren't very long, and if the "all" test is failing they may never run.
I will add this to travis, so that local "test" runs don't get longer.