ellipsoids icon indicating copy to clipboard operation
ellipsoids copied to clipboard

Improve configuration framework for ET

Open irublev opened this issue 7 years ago • 0 comments

  1. transform the script s_install to the function install
  2. parameterize install function with confName
  3. parameterize ellipsoidsinit with confName
  4. make install pass confName to ellipsoidsinit
  5. parameterize elltool.conf.Properties.init with confName
  6. make ellipsoidsinit pass confName to elltool.conf.Properties.init 
7) add tbxConfName parameter to the test xml configuration
 (it is necessary to descend special configuration manager for test toolbox configuration within elltool.test package)
  7. teach install accept both test and toolbox configurations 
If the test configuraiton is specified --- install extracts tbxConfName, otherwise -
-- use the conf name directly.


  8. 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.

  1. modify runTestPack from mlunitext.RemoteTestRunner so that it executes some special methods at its start and end, descend special class elltool.test.RemoteTestRunner that executes elltool.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.

irublev avatar Dec 16 '17 19:12 irublev