/[pcsx2_0.9.7]/trunk/3rdparty/SDL-1.3.0-5387/test/automated/README
ViewVC logotype

Contents of /trunk/3rdparty/SDL-1.3.0-5387/test/automated/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 401 - (show annotations) (download)
Fri Feb 25 17:31:09 2011 UTC (9 years, 11 months ago) by william
File size: 1651 byte(s)
Auto Commited Import of: pcsx2-0.9.7-DEBUG (upstream: v0.9.7.4358 local: v0.9.7.313-latest) in ./trunk
1 SDL Automated Testing Framework User Documentation
2 by Edgar Simo Serra
3
4
5
6 Abstract
7
8 The SDL Automated Testing Framework, hereby after called SDL_AT, is a meant
9 to test the SDL code for regressions and other possible failures. It can also
10 be used to display what your SDL set up supports.
11
12
13
14 Basics
15
16 The main way to use the framework is to compile it and run it, that can be
17 done with the following command:
18
19 $> make test
20
21 It should then display something like:
22
23 Platform : All tests successful (2)
24 SDL_RWops : All tests successful (5)
25 SDL_Surface : All tests successful (6)
26 Rendering with x11 driver : All tests successful (4)
27
28 Indicating that all tests were successful. If however a test fails output it
29 will report the failure to stderr indicating where and why it happened. This
30 output can then be sent to the developers so they can attempt to fix the
31 problem.
32
33
34
35 Advanced
36
37 By passing the "-h" or "--help" parameter to testsdl you can get an overview
38 of all the possible options you can set to furthur tweak the testing. A sample
39 of the options would be the following:
40
41 Usage: ./testsdl [OPTIONS]
42 Options are:
43 -m, --manual enables tests that require user interaction
44 --noplatform do not run the platform tests
45 --norwops do not run the rwops tests
46 --nosurface do not run the surface tests
47 --norender do not run the render tests
48 -v, --verbose increases verbosity level by 1 for each -v
49 -q, --quiet only displays errors
50 -h, --help display this message and exit
51
52
53
54 Developers
55
56 See SDL_at.h for developer information.

  ViewVC Help
Powered by ViewVC 1.1.22