A brief description on how to run MODISTARC regression tests for Freescale S12XS

From ErikaWiki

Revision as of 11:22, 15 January 2010 by Erikadds (Talk | contribs)
Jump to: navigation, search

How to run MODISTARC regression tests for Freescale S12XS

  1. Perfom a repository checkout to work with the last version of the testcases. Note that you can use Subversion only in anonymous mode without logging in. Hence, you won't be allowed to write on the repository (adding, editing or removing files).
  2. Change the working directory in: <tt> repos\ee\trunk\ee\testcase <\tt> and type: <tt> . ./s12xs_startup_scripts <\tt> to configure the environment.
  3. Start the compilation typing: <tt> make ARCH=s12xs <\tt> The makefiles chain will compile all the projects through the following steps:
      1. Directories creation;
      2. OIL elaboration by RT_DRUID;
      3. Compilation to generate the .elf file;
      4. Debugger script creation to run the regression tests on the processor;

NOTE1: To compile only one test type: <tt> make ARCH=s12xs DIRS="modistarc_task_1" <\tt> NOTE2: To compile the tests you can use the batch file located in common/s12xs. To run the batch file type:

  1. <tt> common\s12xs\modistarc_regression_test.bat <\tt> to compile all the tests or
  2. <tt> common\s12xs\modistarc_regression_test.bat modistarc_task_1 <\tt> to compile only one test.
  3. The batch file will call the HIWAVE debugger at the end of the compilation to load the executables files on the processor using the generated script file.
Personal tools