Changes between Version 1 and Version 2 of Testsuite


Ignore:
Timestamp:
Apr 26, 2011, 5:02:09 PM (13 years ago)
Author:
becoulet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Testsuite

    v1 v2  
    3838
    3939 - It first reads tests descriptions from all directories passed on the command line,
    40  - then detects which backend tools are available on your system,
     40 - then detects which backend tools are available on your system (do not forget to set PATH),
    4141 - and finally generates a makefile ready to run the tests.
    4242
     
    128128
    129129Target architecture configuration sections need to be associated with one or more backends
    130 to enable the test generation tool to chose the right execution platform (eg simulator).
     130to enable the test generation tool to chose the right execution platform (eg simulator) and
     131check cross compiler availability.
    131132Test will be run on available backends and unavailable backends will be skipped.
    132133
     
    134135# test configuration           BUILD sections                           test backends
    135136
    136 soclib_mips32el      = Config("soclib-mips32el:pf-tutorial",           "soclib_mips32el")
    137 soclib_mips32el_smp4 = Config("soclib-mips32el:pf-tutorial:test_smp4", "soclib_mips32el_smp4")
    138 ibmpc_x86            = Config("ibmpc-x86",                             "qemu_x86", "bochs_x86")
     137soclib_mips32el      = Config("soclib-mips32el:pf-tutorial",           "soclib-mips32el-1-tuto")
     138soclib_mips32el_smp4 = Config("soclib-mips32el:pf-tutorial:test_smp4", "soclib-mips32el-4-tuto")
     139ibmpc_x86            = Config("ibmpc-x86",                             "ibmpc-x86-1-*")
    139140}}}
     141
     142The backend pattern must be of the form `arch-cpu-cpucount-simulator`.
     143When muliple backends match the pattern, all available matching backends are used in generated test.
     144Available backends are defined for each stage in [source:tests/lib/python/mutekh/stages.py].
    140145
    141146==== Test description ====