no message
This commit is contained in:
@@ -67,12 +67,12 @@ public class ConvertCorrectnessTests extends TestingSystemPass<File> {
|
||||
db_project_info vizTestProject = new db_project_info(testProject, "", false);
|
||||
switch (group.language) {
|
||||
case fortran:
|
||||
test.dim = Current.getSapfor().getTextMaxDim(files[0], vizTestProject);
|
||||
System.out.println(test.dim);
|
||||
test.max_dim = Current.getSapfor().getTextMaxDim(files[0], vizTestProject);
|
||||
System.out.println(test.max_dim);
|
||||
break;
|
||||
case c:
|
||||
test.dim = Utils.getCTestMaxDim(files[0]);
|
||||
System.out.println(test.dim);
|
||||
test.max_dim = Utils.getCTestMaxDim(files[0]);
|
||||
System.out.println(test.max_dim);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@ import Common.Current;
|
||||
import Common.Global;
|
||||
import Common.UI.UI;
|
||||
import Common.Utils.Utils;
|
||||
import ProjectData.Files.DBProjectFile;
|
||||
import ProjectData.Project.db_project_info;
|
||||
import TestingSystem.Common.Test.Test;
|
||||
import TestingSystem.Common.TestingServer;
|
||||
@@ -33,15 +32,15 @@ public class PublishTest extends PublishServerObject<TestingServer, Test> {
|
||||
target.files = String.join(";", filesNames);
|
||||
//--
|
||||
if (from_current_project) {
|
||||
target.dim = project.testMaxDim;
|
||||
// target.max_dim = project.testMaxDim;
|
||||
return super.fillObjectFields();
|
||||
} else {
|
||||
switch (project.languageName) {
|
||||
case fortran:
|
||||
target.dim = Current.getSapfor().getTextMaxDim(null, project);
|
||||
target.max_dim = Current.getSapfor().getTextMaxDim(null, project);
|
||||
break;
|
||||
case c:
|
||||
target.dim = Utils.getCProjectMaxDim(project);
|
||||
target.max_dim = Utils.getCProjectMaxDim(project);
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -83,7 +83,7 @@ public class StartTests extends PublishServerAccountObject<TasksPackage> {
|
||||
flags
|
||||
);
|
||||
testCompilationTask.runTasks = new Vector<>();
|
||||
Vector<String> matrixes = configuration.getMatrixes(test.dim);
|
||||
Vector<String> matrixes = configuration.getMatrixes(test.max_dim);
|
||||
Vector<String> environments = configuration.getEnvironments();
|
||||
for (String environmentSet : environments) {
|
||||
if (flags.trim().equalsIgnoreCase("-s")) {
|
||||
|
||||
Reference in New Issue
Block a user