Lines Matching defs:out
212 System.out.println("Usage: Vogar [options]... <actions>... [-- target args]...");
213 System.out.println();
214 System.out.println(" <actions>: .java files, directories, or class names.");
215 System.out.println(" These should be JUnit tests, jtreg tests, Caliper benchmarks");
216 System.out.println(" or executable Java classes.");
217 System.out.println();
218 System.out.println(" When passing in a JUnit test class, it may have \"#method_name\"");
219 System.out.println(" appended to it, to specify a single test method.");
220 System.out.println();
221 System.out.println(" [args]: arguments passed to the target process. This is only useful when");
222 System.out.println(" the target process is a Caliper benchmark or main method.");
223 System.out.println();
224 System.out.println("GENERAL OPTIONS");
225 System.out.println();
226 System.out.println(" --mode <activity|device|host|jvm>: specify which environment to run in.");
227 System.out.println(" activity: runs in an Android application on a device or emulator");
228 System.out.println(" device: runs in an ART runtime on a device or emulator");
229 System.out.println(" host: runs in an ART runtime on the local desktop built with any lunch combo.");
230 System.out.println(" jvm: runs in a Java VM on the local desktop");
231 System.out.println(" Default is: " + modeId);
232 System.out.println();
233 System.out.println(" --variant <x32>: specify which architecture variant to execute with.");
234 System.out.println(" x32: 32-bit");
235 System.out.println(" Default is: " + variant);
236 System.out.println();
237 System.out.println(" --toolchain <jdk|jack>: Which toolchain to use.");
238 System.out.println(" Default is: " + toolchain);
239 System.out.println();
240 System.out.println(" --language <J17|JN|JO|CUR>: Which language level to use.");
241 System.out.println(" Default is: " + language);
242 System.out.println();
243 System.out.println(" --ssh <host:port>: target a remote machine via SSH.");
244 System.out.println();
245 System.out.println(" --clean: synonym for --clean-before and --clean-after (default).");
246 System.out.println(" Disable with --no-clean if you want no files removed.");
247 System.out.println();
248 System.out.println(" --stream: stream output as it is emitted.");
249 System.out.println();
250 System.out.println(" --benchmark: for use with dalvikvm, this dexes all files together,");
251 System.out.println(" and is mandatory for running Caliper benchmarks, and a good idea");
252 System.out.println(" for other performance sensitive code.");
253 System.out.println(" If you specify this without specifying --runner-type then it");
254 System.out.println(" assumes --runner-type="
256 System.out.println();
257 System.out.println(" --invoke-with: provide a command to invoke the VM with. Examples:");
258 System.out.println(" --mode host --invoke-with \"valgrind --leak-check=full\"");
259 System.out.println(" --mode device --invoke-with \"strace -f -o/sdcard/strace.txt\"");
260 System.out.println();
261 System.out.println(" --timeout <seconds>: maximum execution time of each action before the");
262 System.out.println(" runner aborts it. Specifying zero seconds or using --debug will");
263 System.out.println(" disable the execution timeout. Tests tagged with 'large' will time");
264 System.out.println(" out in " + LARGE_TIMEOUT_MULTIPLIER + "x this timeout.");
265 System.out.println(" Default is: " + timeoutSeconds);
266 System.out.println();
267 System.out.println(" --xml-reports-directory <path>: directory to emit JUnit-style");
268 System.out.println(" XML test results.");
269 System.out.println();
270 System.out.println(" --classpath <jar file>: add the .jar to both build and execute classpaths.");
271 System.out.println();
272 System.out.println(" --use-bootclasspath: use the classpath as search path for bootstrap classes.");
273 System.out.println();
274 System.out.println(" --build-classpath <element>: add the directory or .jar to the build");
275 System.out.println(" classpath. Such classes are available as build dependencies, but");
276 System.out.println(" not at runtime.");
277 System.out.println();
278 System.out.println(" --sourcepath <directory>: add the directory to the build sourcepath.");
279 System.out.println();
280 System.out.println(" --vogar-dir <directory>: directory in which to find Vogar");
281 System.out.println(" configuration information, caches, saved and results");
282 System.out.println(" unless they've been put explicitly elsewhere.");
283 System.out.println(" Default is: " + vogarDir);
284 System.out.println();
285 System.out.println(" --record-results: record test results for future comparison.");
286 System.out.println();
287 System.out.println(" --results-dir <directory>: read and write (if --record-results used)");
288 System.out.println(" results from and to this directory.");
289 System.out.println();
290 System.out.println(" --runner-type <default|caliper|main|junit>: specify which runner to use.");
291 System.out.println(" default: runs both JUnit tests and main() classes");
292 System.out.println(" caliper: runs Caliper benchmarks only");
293 System.out.println(" main: runs main() classes only");
294 System.out.println(" junit: runs JUnit tests only");
295 System.out.println(" Default is determined by --benchmark and --testonly, if they are");
296 System.out.println(" not specified then defaults to: default");
297 System.out.println();
298 System.out.println(" --test-only: only run JUnit tests.");
299 System.out.println(" Default is: " + testOnly);
300 System.out.println(" DEPRECATED: Use --runner-type="
302 System.out.println();
303 System.out.println(" --verbose: turn on persistent verbose output.");
304 System.out.println();
305 System.out.println(" --check-jni: enable CheckJNI mode.");
306 System.out.println(" See http://developer.android.com/training/articles/perf-jni.html.");
307 System.out.println(" Default is: " + checkJni + ", but disabled for --benchmark.");
308 System.out.println("");
309 System.out.println("TARGET OPTIONS");
310 System.out.println();
311 System.out.println(" --debug <port>: enable Java debugging on the specified port.");
312 System.out.println(" This port must be free both on the device and on the local");
313 System.out.println(" system. Disables the timeout specified by --timeout-seconds.");
314 System.out.println();
315 System.out.println(" --debug-app: enable debugging while running in an activity.");
316 System.out.println(" This will require the use of DDMS to connect to the activity");
317 System.out.println(" on the device, and expose the debugger on an appropriate port.");
318 System.out.println();
319 System.out.println(" --device-dir <directory>: use the specified directory for");
320 System.out.println(" on-device temporary files and code.");
321 System.out.println();
322 System.out.println(" --vm-arg <argument>: include the specified argument when spawning a");
323 System.out.println(" virtual machine. Examples: -Xint:fast, -ea, -Xmx16M");
324 System.out.println();
325 System.out.println(" --vm-command <argument>: override default vm executable name.");
326 System.out.println(" Default is 'java' for the JVM and a version of dalvikvm for the host and target.");
327 System.out.println();
328 System.out.println(" --java-home <java_home>: execute the actions on the local workstation");
329 System.out.println(" using the specified java home directory. This does not impact");
330 System.out.println(" which javac gets used. When unset, java is used from the PATH.");
331 System.out.println();
332 System.out.println("EXOTIC OPTIONS");
333 System.out.println();
334 System.out.println(" --suggest-classpaths: build an index of jar files under the");
335 System.out.println(" directories given by --jar-search-dir arguments. If Vogar then ");
336 System.out.println(" fails due to missing classes or packages, it will use the index to");
337 System.out.println(" diagnose the problem and suggest a fix.");
338 System.out.println();
339 System.out.println(" Currently only looks for jars called exactly \"classes.jar\".");
340 System.out.println();
341 System.out.println(" --jar-search-dir <directory>: a directory that should be searched for");
342 System.out.println(" jar files to add to the class file index for use with");
343 System.out.println(" --suggest-classpaths.");
344 System.out.println();
345 System.out.println(" --clean-before: remove working directories before building and");
346 System.out.println(" running (default). Disable with --no-clean-before if you are");
347 System.out.println(" using interactively with your own temporary input files.");
348 System.out.println();
349 System.out.println(" --clean-after: remove temporary files after running (default).");
350 System.out.println(" Disable with --no-clean-after and use with --verbose if");
351 System.out.println(" you'd like to manually re-run commands afterwards.");
352 System.out.println();
353 System.out.println(" --color: format output in technicolor.");
354 System.out.println();
355 System.out.println(" --pass-color: ANSI color code to use for passes.");
356 System.out.println(" Default: 32 (green)");
357 System.out.println();
358 System.out.println(" --skip-color: ANSI color code to use for skips.");
359 out.println(" Default: 33 (yellow)");
360 System.out.println();
361 System.out.println(" --warn-color: ANSI color code to use for warnings.");
362 System.out.println(" Default: 35 (purple)");
363 System.out.println();
364 System.out.println(" --fail-color: ANSI color code to use for failures.");
365 System.out.println(" Default: 31 (red)");
366 System.out.println();
367 System.out.println(" --ansi: use ANSI escape sequences to remove intermediate output.");
368 System.out.println();
369 System.out.println(" --expectations <file>: include the specified file when looking for");
370 System.out.println(" action expectations. The file should include qualified action names");
371 System.out.println(" and the corresponding expected output.");
372 System.out.println(" Default is: " + expectationFiles);
373 System.out.println();
374 System.out.println(" --indent: amount to indent action result output. Can be set to ''");
375 System.out.println(" (aka empty string) to simplify output parsing.");
376 System.out.println(" Default is: '" + indent + "'");
377 System.out.println();
378 System.out.println(" --javac-arg <argument>: include the specified argument when invoking");
379 System.out.println(" javac. Examples: --javac-arg -Xmaxerrs --javac-arg 1");
380 System.out.println();
381 System.out.println(" --jack-arg <argument>: include the specified argument when invoking");
382 System.out.println(" jack. Examples: --jack-arg -D --jack-arg jack.assert.policy=always");
383 System.out.println();
384 System.out.println(" --multidex: whether to use native multidex support");
385 System.out.println(" Disable with --no-multidex.");
386 System.out.println(" Default is: " + multidex);
387 System.out.println();
388 System.out.println(" --dalvik-cache <argument>: override default dalvik-cache location.");
389 System.out.println(" Default is: " + dalvikCache);
390 System.out.println();
391 System.out.println(" --first-monitor-port <port>: the port on the host (and possibly target)");
392 System.out.println(" used to traffic control messages between vogar and forked processes.");
393 System.out.println(" Use this to avoid port conflicts when running multiple vogar instances");
394 System.out.println(" concurrently. Vogar will use up to N ports starting with this one,");
395 System.out.println(" where N is the number of processors on the host (" + NUM_PROCESSORS + "). ");
396 System.out.println();
397 System.out.println(" --open-bugs-command <command>: a command that will take bug IDs as parameters");
398 System.out.println(" and return those bugs that are still open. For example, if bugs 123 and");
399 System.out.println(" 789 are both open, the command should echo those values:");
400 System.out.println(" $ ~/bin/bug-command 123 456 789");
401 System.out.println(" 123");
402 System.out.println(" 789");
403 System.out.println();
404 System.out.println("CONFIG FILE");
405 System.out.println();
406 System.out.println(" User-defined default arguments can be specified in ~/.vogarconfig. See");
407 System.out.println(" .vogarconfig.example for an example.");
408 System.out.println();
427 System.out.println(e.getMessage());
436 System.out.println("Invalid java home: " + javaHome);
442 System.out.println("VM args " + vmArgs + " should not be specified for mode " + modeId);
448 System.out.println("Variant " + variant + " not supported for mode " + modeId);
453 System.out.println("Invalid XML reports directory: " + xmlReportsDirectory);
493 System.out.println("Expected a .jar file, .java file, directory, "
505 System.out.println("No actions provided.");
510 System.out.println("Target args " + targetArgs + " should not be specified for mode " + modeId);
518 System.out.println("The options for toolchain are either jack or jdk.");
523 System.out.println("Activity debugging requires the use of --debug-app and DDMS.");
528 System.out.println("--debug-app can only be used in combination with --mode activity.");