|
From: <sar...@us...> - 2014-11-26 11:21:59
|
Revision: 21761
http://sourceforge.net/p/sbml/code/21761
Author: sarahkeating
Date: 2014-11-26 11:21:56 +0000 (Wed, 26 Nov 2014)
Log Message:
-----------
tweak for test in octave
found in linux but somehow I missed them in windows
Modified Paths:
--------------
trunk/libsbml/src/bindings/matlab/test/testBinding.m
trunk/libsbml/src/bindings/matlab/test/testVersionInformation.m
Modified: trunk/libsbml/src/bindings/matlab/test/testBinding.m
===================================================================
--- trunk/libsbml/src/bindings/matlab/test/testBinding.m 2014-11-26 08:40:39 UTC (rev 21760)
+++ trunk/libsbml/src/bindings/matlab/test/testBinding.m 2014-11-26 11:21:56 UTC (rev 21761)
@@ -62,7 +62,7 @@
if (install == 0)
Totalfail = Totalfail + testOutput('Out-test1', 0, FbcEnabled);
- Totalfail = Totalfail + testVersionInformation();
+ Totalfail = Totalfail + testVersionInformation(FbcEnabled);
end;
catch exception
@@ -100,7 +100,7 @@
if (install == 0)
Totalfail = Totalfail + testOutput('Out-test1', 0, FbcEnabled);
- Totalfail = Totalfail + testVersionInformation();
+ Totalfail = Totalfail + testVersionInformation(FbcEnabled);
end;
catch
Modified: trunk/libsbml/src/bindings/matlab/test/testVersionInformation.m
===================================================================
--- trunk/libsbml/src/bindings/matlab/test/testVersionInformation.m 2014-11-26 08:40:39 UTC (rev 21760)
+++ trunk/libsbml/src/bindings/matlab/test/testVersionInformation.m 2014-11-26 11:21:56 UTC (rev 21761)
@@ -1,9 +1,6 @@
-function Totalfail = testVersionInformation
+function Totalfail = testVersionInformation(FbcEnabled)
Totalfail = 0;
-cd ..;
-FbcEnabled = isFbcEnabled();
-cd test;
filename = fullfile(pwd,'test-data', 'errors.xml');
|