Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8247573: gtest/GTestWrapper.java is not helpful if gtest framework is…
… missing

Reviewed-by: erikj, iignatyev
  • Loading branch information
magicus committed Jun 24, 2020
1 parent 1e45eb3 commit 2ad638621c0a74be278ab7813947f2bccfe0adf0
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -57,7 +57,7 @@ public static void main(String[] args) throws Throwable {
.resolve(jvmVariantDir);
}
if (!path.toFile().exists()) {
throw new Error("TESTBUG: the library has not been found in " + nativePath);
throw new Error("TESTBUG: the library has not been found in " + nativePath + ". Did you forget to use --with-gtest to configure?");
}

Path execPath = path.resolve("gtestLauncher" + (Platform.isWindows() ? ".exe" : ""));

0 comments on commit 2ad6386

Please sign in to comment.