This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]