Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Semesterprojekt Modulbasiertes Testen
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Trappe
Semesterprojekt Modulbasiertes Testen
Commits
401326ac
Commit
401326ac
authored
5 years ago
by
Jonas
Browse files
Options
Downloads
Patches
Plain Diff
Update on autolaunching processes
parent
3e199df4
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/var/FeatureModelImplGenerator/template/Main.jak
+3
-3
3 additions, 3 deletions
src/var/FeatureModelImplGenerator/template/Main.jak
with
3 additions
and
3 deletions
src/var/FeatureModelImplGenerator/template/Main.jak
+
3
−
3
View file @
401326ac
...
...
@@ -38,8 +38,7 @@ public class Configurator {
//path to the testcase compliler
private String m_sTestCaseCompilerPath = "../../../build/test/compiler/compiler.dll";
//arguments for the testcase compiler
//TODO: Set paths
private String[] m_aCompilerArgs = new String[] {"path1", "path2"};
private String[] m_aCompilerArgs = new String[] {"../../test/testfaelle", "../../../build/test/compiler/testfaelle"};
//document representation of the feature model
private Document m_oFeatureModelDoc;
...
...
@@ -126,7 +125,7 @@ public class Configurator {
//TODO launch compiler
try {
Process oTestCaseCompiler = Runtime.getRuntime().exec("dotnet " + m_sTestManagerPath + m_aCompilerArgs[0] + " " + m_aCompilerArgs[1]);
Process oTestCaseCompiler = Runtime.getRuntime().exec("dotnet " + m_sTestManagerPath +
" " +
m_aCompilerArgs[0] + " " + m_aCompilerArgs[1]);
BufferedReader oOutput = new BufferedReader(new InputStreamReader(oTestCaseCompiler.getInputStream()));
String sOutput = null;
while ((sOutput = oOutput.readLine()) != null) {
...
...
@@ -138,6 +137,7 @@ public class Configurator {
//TODO launch test manager
try {
Process oChMod = Runtime.getRuntime().exec("chmod u+x"+ m_sTestManagerPath);
Process oTestManager = Runtime.getRuntime().exec(m_sTestManagerPath);
BufferedReader oOutput = new BufferedReader(new InputStreamReader(oTestManager.getInputStream()));
String sOutput = null;
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment