Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Cpp
Commits
edfe38cc
Commit
edfe38cc
authored
Dec 24, 2018
by
Alexander David Hellwig
Browse files
Added check for g++ in StreamTestExecution for useful error msg
parent
bb93391a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/generator/testing/StreamTestExecution.java
View file @
edfe38cc
...
...
@@ -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
.
getRuntime
().
exec
(
new
String
[]{
execName
,
targetFullPath
,
targetBasePath
+
"/exec"
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment