Salikh Zakirov wrote:
Geir Magnusson Jr. wrote:
Why not use junit?
<Junit> task in implicitly assumes that you can
run all tests in single JVM instance. Though it does provide
fork-mode to run tests in separate JVM processes, it still
does not allow per-test JVM args configuration.
Which is exactly what we need for JVMTI tests, as most of the
test has their own special agent to be run with.
I understand the agent is needed, but I don't see why you can't do that
that with junit. Can't you just invoke ant w/ an exec?
Nevertheless, we could use junit task with some benefit
in creating test reports. I think this can be accomodated
in Gregory's scheme by using <junit> task instead of <java> task.
The most of the ant mechanics (selecting tests and looping
over them for compilation and running) will be there
no matter what we use for test running, <junit> or <java>.
Right - I'm just tired of adding to the mess that is, IMO, the DRLVM
build. I'd rather see new things be more conventional.
geir