Commit edfe38cc authored by Alexander David Hellwig's avatar Alexander David Hellwig
Browse files

Added check for g++ in StreamTestExecution for useful error msg

parent bb93391a
......@@ -45,6 +45,11 @@ public class StreamTestExecution {
execName = "generic_platform";
System.out.println("ERROR: Unsupported platform!!!");
//Check if g++ is available
//will throw IOException if not found
Runtime.getRuntime().exec("g++ --version");
Process p = Runtime.
exec(new String[]{execName, targetFullPath, targetBasePath + "/exec"});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment