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
edd6d0a7
There was an error fetching the commit references. Please try again later.
Commit
edd6d0a7
authored
5 years ago
by
Jonas
Browse files
Options
Downloads
Patches
Plain Diff
Compiler autolaunch update
parent
8ec11808
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/test/compiler/compile
+0
-0
0 additions, 0 deletions
build/test/compiler/compile
src/var/FeatureModelImplGenerator/template/Main.jak
+2
-5
2 additions, 5 deletions
src/var/FeatureModelImplGenerator/template/Main.jak
with
2 additions
and
5 deletions
build/test/compiler/compile
100644 → 100755
+
0
−
0
View file @
edd6d0a7
File mode changed from 100644 to 100755
This diff is collapsed.
Click to expand it.
src/var/FeatureModelImplGenerator/template/Main.jak
+
2
−
5
View file @
edd6d0a7
...
@@ -36,9 +36,7 @@ public class Configurator {
...
@@ -36,9 +36,7 @@ public class Configurator {
//path to the test manager
//path to the test manager
private String m_sTestManagerPath = "../../../build/sim/testmanager.sh";
private String m_sTestManagerPath = "../../../build/sim/testmanager.sh";
//path to the testcase compliler
//path to the testcase compliler
private String m_sTestCaseCompilerPath = "../../../build/test/compiler/compiler.dll";
private String m_sTestCaseCompilerPath = "../../../build/test/compiler/compile";
//arguments for the testcase compiler
private String[] m_aCompilerArgs = new String[] {"../../test/testfaelle", "../../../build/test/compiler/testfaelle"};
//document representation of the feature model
//document representation of the feature model
private Document m_oFeatureModelDoc;
private Document m_oFeatureModelDoc;
...
@@ -127,7 +125,7 @@ public class Configurator {
...
@@ -127,7 +125,7 @@ public class Configurator {
//TODO launch compiler
//TODO launch compiler
try {
try {
Process oTestCaseCompiler = oRuntime.exec(
"dotnet " + m_sTestManagerPath + " " + m_aCompilerArgs[0] + " " + m_aCompilerArgs[1]
);
Process oTestCaseCompiler = oRuntime.exec(
m_sTestCaseCompilerPath
);
BufferedReader oOutput = new BufferedReader(new InputStreamReader(oTestCaseCompiler.getInputStream()));
BufferedReader oOutput = new BufferedReader(new InputStreamReader(oTestCaseCompiler.getInputStream()));
String sOutput = null;
String sOutput = null;
while ((sOutput = oOutput.readLine()) != null) {
while ((sOutput = oOutput.readLine()) != null) {
...
@@ -139,7 +137,6 @@ public class Configurator {
...
@@ -139,7 +137,6 @@ public class Configurator {
//TODO launch test manager
//TODO launch test manager
try {
try {
Process oChMod = oRuntime.exec("chmod u+x"+ m_sTestManagerPath);
Process oTestManager = oRuntime.exec(m_sTestManagerPath);
Process oTestManager = oRuntime.exec(m_sTestManagerPath);
BufferedReader oOutput = new BufferedReader(new InputStreamReader(oTestManager.getInputStream()));
BufferedReader oOutput = new BufferedReader(new InputStreamReader(oTestManager.getInputStream()));
String sOutput = null;
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