MatrixBerryCore
run_tests_remotely.m
Go to the documentation of this file.
1 function resultVec=run_tests_remotely(markerStr,confName)
3 %
4 if nargin<1
5  markerStr='';
6 else
7  markerStr=[',',markerStr];
8 end
9 if nargin<2
10  confName='default';
11 end
12 RUNNER_NAME='MatrixBerryTestRunner';
13 TOP_PACKAGE_NAME='mxberry';
14 %
15 runnerName=[RUNNER_NAME,markerStr];
16 log4jConfiguratorName='mxberry.test.log.Log4jConfigurator';
18 emailSubjSuffName='';
19 try
20  %% Read test configuration
22  confRepoMgr.selectConf(confName);
23  inpArgList={};
25  inpArgList,confRepoMgr,...
26  log4jConfiguratorName,emailSubjSuffName,runnerName,...
27  fTempDirGetter,TOP_PACKAGE_NAME,'isConsoleOutputCollected',false);
28 catch meObj
29  disp(mxberry.core.MExceptionUtils.me2PlainString(meObj));
30  rethrow(meObj);
31 end
TMPDATAMANAGER provides a basic functionality for managing temporary data folders, root folder name is determined automatically.
Definition: TmpDataManager.m:5
ADAPTIVECONFREPOMANAGER is a simplistic extension of AdaptiveConfRepoManager that injects a configura...
LOG4JCONFIGURATOR simplifies log4j configuration, especially when Parallel Computing Toolbox is used...
static function runTestsWithConf(in inpArgList, in confRepoMgr, in log4jConfiguratorName, in emailSubjSuffixName, in runnerName, in fTempDirGetter, in topPackageName, in varargin)
function selectConf(in self, in confName, in varargin)
SELECTCONF - selects the specified plain configuration. If the one does not exist it is created from ...
static function getDirByCallerKey(in keyName)
GETDIRBYCALLERKEY returns a unique temporary directory name based on caller name and optionally based...
function run_tests_remotely(in markerStr, in confName)