This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: [eCos]How to build eCos test code with the configtool?
- From: "Young Jay" <young_jay at sohu dot com>
- To: "Andrew Lunn" <andrew at lunn dot ch>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 20 Aug 2003 09:30:56 +0800 (CST)
- Subject: Re: [ECOS] [eCos]How to build eCos test code with the configtool?
Hello, Andrew:
Thank you very much! Following your suggestion, it's all right. By the way, I use the
CYGPKG_<PACKAGE-NAME>_TESTS form as the options' name, while you mentioned as example
is the component name. Again thanks.
Best regards,
Young Jay
----- Original Message -----
From: Andrew Lunn
To: Young Jay
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] [eCos]How to build eCos test code with the configtool?
Sent: Tue Aug 19 14:57:33 CST 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