16 lines
309 B
Matlab
16 lines
309 B
Matlab
function runCanteraTests(varargin)
|
|
% Set Cantera paths
|
|
run ../../interfaces/matlab/testpath.m
|
|
|
|
% Set test framework path
|
|
path('../../ext/matlab_xunit', path)
|
|
|
|
% run the tests
|
|
if nargin == 0
|
|
runtests -verbose
|
|
else
|
|
runtests('-verbose','-logfile',varargin{1})
|
|
end
|
|
|
|
% unload the MEX file
|
|
clear ctmethods
|