8303822: gtestMain should give more helpful output
Reviewed-by: lmesnik
This commit is contained in:
parent
e26cc52600
commit
0f26d09da8
@ -245,7 +245,7 @@ static void runUnitTestsInner(int argc, char** argv) {
|
||||
|
||||
char* java_home = get_java_home_arg(argc, argv);
|
||||
if (java_home == NULL) {
|
||||
fprintf(stderr, "ERROR: You must specify a JDK to use for running the unit tests.\n");
|
||||
fprintf(stderr, "ERROR: You must specify a JDK (-jdk <image>, --jdk=<image> or -jdk:<image>) to use for running the unit tests.\n");
|
||||
os::exit(1);
|
||||
}
|
||||
#ifndef _WIN32
|
||||
|
Loading…
x
Reference in New Issue
Block a user