Dear Yeti:

We are currently running the full unit test suite for 1.7 and then 1.8 jdk
when doing a patch precommit run. We'd like to run the unit test suite once
only (our suite takes too long -- a different problem). I'm trying to
figure how I might do this with a yetus config/plugin combo but I seem to
end up cross-cutting yetus so I must be doing something wrong. What I want
is to be able to specify that, say, we do javac,javadoc,junit with jdk1.7
but we only do javac with jdk1.8.

Looking at the args we are passing yetus -- I'm talking about the hbase
project -- it looks like we are passing jdk 1.8 only on the --multijdkdirs
parameter and that we must be picking up the jdk 1.7 from JAVA_HOME (if I
am reading our config properly). We are not specifying --multijdktests so
we are getting the javac,javadoc,junit precommit plugins run by default.

I was thinking of something like changing the parse of multijdktests so I
could pass multiple test lists and then their order would match the jdk
order in multijdkdirs, but that seems kinda hacky.

What would you suggest?

Thanks,
St.Ack

Reply via email to