diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-03-16 13:36:39 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-03-16 13:36:39 +0000 |
commit | e72856950a9baa76ed41fb8d684cb13375daf48e (patch) | |
tree | 7ab013c14a29d8ad4d02b5c6aebe587f4806510e /test/README | |
parent | 72e880a46d65bcce7374c59826531240d6a316ba (diff) |
Fixed makefiles inclusion flow to pass actual configuration variable values.
Test build system modified to be similar to uClibc one:
* test custom logic moved from Makefile to a new Makefile.in (to be included
by Makefile).
* Makefile same for all tests and just used for including all other needed
makefiles.
Signed-off-by: Salvatore Cro <salvatore.cro@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'test/README')
-rw-r--r-- | test/README | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/test/README b/test/README index 31db8f410..fcb41489b 100644 --- a/test/README +++ b/test/README @@ -36,19 +36,23 @@ make check UCLIBC_ONLY=1 ---------------- The structure of this test system is: - test/ toplevel dir containing common test code - test/Rules.mak Common build code - test/Test.mak Runtime test make code - test/subdir/ code specific to a subsystem is stored in a subdir - test/subdir/Makefile describe the tests to run - test/subdir/*.c the tests + test/ toplevel dir containing common test code + test/Rules.mak Common build code + test/Test.mak Runtime test make code + test/subdir/ code specific to a subsystem is stored in a subdir + test/subdir/Makefile.in describe the tests to run + test/subdir/Makefile test entry point, includes needed upper-level + makefiles plus Makefile.in + test/subdir/*.c the tests -Each subdir Makefile must include the toplevel Test.mak file. Before doing so, -you may define the TESTS and TESTS_DISABLED variables. If you do not, TESTS +Each subdir has a Makefile (same for any subdir) that must include in strict order : + - the upper-level Rules.mak file. + - the Makefile.in . + - the upper-level Test.mak file. +Makefile.in may be used to define the TESTS and TESTS_DISABLED variables. If you do not, TESTS is built automatically based upon all the .c files in the subdir. TESTS := foo TESTS_DISABLED := bar -include ../Test.mak Each test must use a similar .c name; so the "foo" test needs a "foo.c". Additionally, the following options further control specific test behavior: |