|
@@ -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:
|