Skip to content

Commit b25e310

Browse files
authored
Merge pull request #2437 from farid-zare/developTestAll
Develop test all
2 parents 71cf4c8 + b757a89 commit b25e310

File tree

5 files changed

+11
-2
lines changed

5 files changed

+11
-2
lines changed

test/testAll.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,11 @@
208208
totalTime = sum(resultTable.Time);
209209

210210
% 1) Wrap in <testsuites> -- typical JUnit format
211-
fprintf(fid, '<testsuites name="COBRA Toolbox Test Suites" tests="%d" failures="%d" errors="%d" time="%.3f">\n', ...
211+
fprintf(fid, '<testsuites name="" tests="%d" failures="%d" errors="%d" time="%.3f">\n', ...
212212
numTests, numFailures, numErrors, totalTime);
213213

214214
% 2) A single <testsuite> inside
215-
fprintf(fid, ' <testsuite name="COBRA Toolbox Test Suite" tests="%d" failures="%d" errors="%d" skipped="%d" time="%.3f">\n', ...
215+
fprintf(fid, ' <testsuite name="" tests="%d" failures="%d" errors="%d" skipped="%d" time="%.3f">\n', ...
216216
numTests, numFailures, numErrors, numSkipped, totalTime);
217217

218218
% 3) Loop over each test case

test/verifiedTests/analysis/testMultiSpeciesModelling/testCreatePanModels.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
fileDir = fileparts(which('testCreatePanModels'));
1515
cd(fileDir);
1616

17+
solverPkgs = prepareTest('toolboxes', {'distrib_computing_toolbox'});
18+
1719
modelList={
1820
'Abiotrophia_defectiva_ATCC_49176'
1921
'Acidaminococcus_fermentans_DSM_20731'

test/verifiedTests/analysis/testTopology/testLrsInterface.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
% save the current path
1414
currentDir = pwd;
1515

16+
solverPkgs = prepareTest('requiredSoftwares',{'lrs'});
17+
1618
% set the model name
1719
modelName = 'test';
1820

test/verifiedTests/analysis/testrFBA/testdynamicRFBA.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
%QP solvers
2323
QPsolverPkgs = {'tomlab_cplex','ibm_cplex'};
2424

25+
solverPkgs = prepareTest('requiredSolvers',solverPkgs);
26+
27+
2528
for k =1:length(solverPkgs)
2629

2730
solverLPOK = changeCobraSolver(solverPkgs{k},'LP', 0);

test/verifiedTests/base/testSolvers/testChangeIBMCplexParams.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
% save the current path
99
currentDir = pwd;
1010

11+
solverPkgs = prepareTest('requiredSolvers',{'ibm_cplex'});
12+
1113
%get the warning settings and turn on all warnings
1214
cwarn = warning;
1315
warning('on');

0 commit comments

Comments
 (0)