testNg.setAnnotations(options.getAnnotations());
if (options.getJavadocAnnotations()) {
testNg.setSourcePath(GUtil.join(options.getTestResources(), File.pathSeparator));
}
testNg.setUseDefaultListeners(options.getUseDefaultListeners());
testNg.addListener(testResultProcessor);
testNg.setVerbose(0);
testNg.setGroups(GUtil.join(options.getIncludeGroups(), ","));
testNg.setExcludedGroups(GUtil.join(options.getExcludeGroups(), ","));
for (String listenerClass : options.getListeners()) {
try {