1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- For: User
- Following make targets are available
- make compile
- This will compile and link the tests.
- make run
- This will execute all the tests.
- make check
- make all
- This will build and run tests.
- The following make variables may help you in testing:
- - V / VERBOSE - run tests with a lot of output
- - TIMEOUTFACTOR=nn - increase test timeout nn times.
- You can pass the following 2 environment variables to "make run":
- - make run SIMULATOR=qemu-sh4
- If you need to test just a subset of all test, delete subdirectories
- you do not need.
- For: Developer
- 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.in describe the tests to run
- test/subdir/Makefile test entry point, includes needed upper-level
- makefiles plus Makefile.in
- test/subdir
|