This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
qusetion about building test program in ecos
- From: "Zhang Shenqi\(hotmail\)" <zsq20030710 at hotmail dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 12 Feb 2004 10:11:06 +0800
- Subject: [ECOS] qusetion about building test program in ecos
Hi:
I am porting UDF filesystem to Ecos (MIPS platform) and i build the library and test program use configtool under redhat linux 9.0. Whenever i change the codes of udf system,I have to build the test program of every package in the ecos if i want to build the test program of the udf package. It costs much too long time to build all test programs.
The cdl file of my udf package is as the following:
cdl_package CYGPKG_FS_UDF {
display "UDF filesystem"
doc ref/udf_fs.html
include_dir cyg/udffs
define_header fs_udf.h
requires CYGPKG_IO_FILEIO
requires CYGPKG_ISOINFRA
requires CYGPKG_ERROR
requires CYGINT_ISO_ERRNO
requires CYGINT_ISO_ERRNO_CODES
implements CYGINT_IO_FILEIO_FS
compile -library=mylib.a udffs.c dvd_driver.c
compile -library=mylib.a udf.c cdvd.c misc_fun.c
compile -library=mylib.a discif.c loadertoc.c
cdl_option CYGPKG_FS_UDF_TESTS {
display "UDF FS tests"
flavor data
no_define
calculated { "tests/udf_test.c" }
description "
This option specifies the set of tests for the UDF FS package."
}
}
Now i want to know how to avoid the building of other test programs when i change the codes of the udf filesystem package and want to build its test program.
Can anyone give me some advice? thanks!