Missed to catch exceptions for compiler version print.
This commit is contained in:
parent
5bcbea82e3
commit
5d783bf82e
|
@ -614,6 +614,7 @@ public abstract class BaseCppTest {
|
|||
|
||||
// Build runtime using cmake once.
|
||||
if (!runtimeBuiltOnce) {
|
||||
try {
|
||||
System.out.println("Located compiler at: " + compilerPath);
|
||||
ArrayList<String> args = new ArrayList<String>();
|
||||
args.add(compilerPath);
|
||||
|
@ -622,6 +623,10 @@ public abstract class BaseCppTest {
|
|||
builder.directory(new File(tmpdir));
|
||||
String output = runProcess(builder, "printing compiler version");
|
||||
System.out.println("Compiler version is: " + output);
|
||||
}
|
||||
catch (Exception e) {
|
||||
System.err.println("Can't get compiler version");
|
||||
}
|
||||
|
||||
runtimeBuiltOnce = true;
|
||||
if (!buildRuntime()) {
|
||||
|
|
Loading…
Reference in New Issue