[ECOS] [eCos]How to build eCos test code with the configtool?

Andrew Lunn andrew@lunn.ch
Tue Aug 19 06:58:00 GMT 2003


> cdl_component CYGPKG_DEVS_DMAC_OPTIONS {
>         display "DMA controller device driver build options"
>         flavor  none
>         description   "
> 	    Package specific build options including control over
> 	    compiler flags used only in building this package,
> 	    and details of which tests are built."
[...]
>         cdl_option CYGPKG_DEVS_DMAC_TESTS {
>             display "DMA controller device driver tests"
>             flavor  data
>             no_define
>             calculated { "tests/dmatest1 tests/dmatest2 tests/dmatest3 tests/dmatest4" }

http://sources.redhat.com/ecos/docs-latest/cdl-guide/package.contents.html#PACKAGE.TESTS

        A magically-named calculated configuration option of the form
        CYGPKG_<PACKAGE-NAME>_TESTS lists the test cases.

So you need to name it CYGPKG_DEVS_DMAC_OPTIONS_TESTS. Realy you
should not of dropped _OPTIONS from all the other names as well.

   Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list