ellipsoids
ellipsoids copied to clipboard
Improve configuration framework for ET
- transform the script
s_install
to the functioninstall
- parameterize
install
function withconfName
- parameterize
ellipsoidsinit
withconfName
- make
install
passconfName
toellipsoidsinit
- parameterize
elltool.conf.Properties.init
withconfName
- make
ellipsoidsinit
passconfName
toelltool.conf.Properties.init
7) addtbxConfName
parameter to the test xml configuration (it is necessary to descend special configuration manager for test toolbox configuration withinelltool.test
package) - teach
install
accept both test and toolbox configurations If the test configuraiton is specified --- install extractstbxConfName
, otherwise - -- use the conf name directly. - make run_
matlab_tests_jenkins.bat
pass
install(%confName%), cd .., %matlabFunc%('%runMarker%','%confName%')
into run_matlab_tests.bat
instead of just
%matlabFunc%('%runMarker%','%confName%')
and remove install(%confName%), cd ...
from run_matlab_cmd.bat
.
Also, create run_matlab_cmd_with_conf.bat
parameterized with a conf name as a wrapper around run_matlab_cmd.bat
.
Then make all run bat scripts from ./install
folder use run_matlab_cmd_with_conf.bat
instead of
run_matlab_cmd.bat
.
- modify
runTestPack
frommlunitext.RemoteTestRunner
so that it executes some special methods at its start and end, descend special classelltool.test.RemoteTestRunner
that executeselltool.conf.Properties.init
with current test configuration before and after performing of each test pack. This is necessary to guarantee that all the possible changes of Properties within tests are cleared so that all test packs can be executed independently.