SDL-mirror/test/automated
Sam Lantinga bfb982d926 Fixed bug #615
Scott McCreary      2008-08-21 10:48:14 PDT

This patch adds support for Haiku.
http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/libsdl/SDL-1.2.13-haiku.diff
Haiku is an open-source recreation of BeOS.  It has better POSIX compliance
than beOS did, and other improved features, which in some cases causes us to
have to "undo" previous BeOS workarounds.
Here's our port log entry for it, showing the steps to force the changes into
configure and Makefile:
http://ports.haiku-files.org/wiki/media-libs/libsdl/1.2.13/1
Note that this was only tried on 1.2.13 stable so far.
Haiku is using a newer config.guess / config.sub that doesn't yet seem to be in
the released libtool, so we are having to copy it in for now.
http://haiku-files.org/files/optional-packages/

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403855
2009-09-21 09:21:00 +00:00
..
audio Merged Edgar's code changes from Google Summer of Code 2009 2009-09-07 05:06:34 +00:00
common Merged Edgar's code changes from Google Summer of Code 2009 2009-09-07 05:06:34 +00:00
platform Fixed bug #615 2009-09-21 09:21:00 +00:00
render Merged Edgar's code changes from Google Summer of Code 2009 2009-09-07 05:06:34 +00:00
rwops Merged Edgar's code changes from Google Summer of Code 2009 2009-09-07 05:06:34 +00:00
surface Merged Edgar's code changes from Google Summer of Code 2009 2009-09-07 05:06:34 +00:00
Makefile Merged Edgar's code changes from Google Summer of Code 2009 2009-09-07 05:06:34 +00:00
README Merged Edgar's code changes from Google Summer of Code 2009 2009-09-07 05:06:34 +00:00
SDL_at.c Merged Edgar's code changes from Google Summer of Code 2009 2009-09-07 05:06:34 +00:00
SDL_at.h Merged Edgar's code changes from Google Summer of Code 2009 2009-09-07 05:06:34 +00:00
testsdl.c Merged Edgar's code changes from Google Summer of Code 2009 2009-09-07 05:06:34 +00:00


   SDL Automated Testing Framework User Documentation
   by Edgar Simo Serra



   Abstract

   The SDL Automated Testing Framework, hereby after called SDL_AT, is a meant
to test the SDL code for regressions and other possible failures. It can also
be used to display what your SDL set up supports.



   Basics

   The main way to use the framework is to compile it and run it, that can be
done with the following command:

  $> make test
  
  It should then display something like:

  Platform : All tests successful (2)
  SDL_RWops : All tests successful (5)
  SDL_Surface : All tests successful (6)
  Rendering with x11 driver : All tests successful (4)

  Indicating that all tests were successful. If however a test fails output it
will report the failure to stderr indicating where and why it happened. This
output can then be sent to the developers so they can attempt to fix the
problem.



   Advanced

   By passing the "-h" or "--help" parameter to testsdl you can get an overview
of all the possible options you can set to furthur tweak the testing. A sample
of the options would be the following:

   Usage: ./testsdl [OPTIONS]
   Options are:
      -m, --manual    enables tests that require user interaction
      --noplatform    do not run the platform tests
      --norwops       do not run the rwops tests
      --nosurface     do not run the surface tests
      --norender      do not run the render tests
      -v, --verbose   increases verbosity level by 1 for each -v
      -q, --quiet     only displays errors
      -h, --help      display this message and exit


  
  Developers

  See SDL_at.h for developer information.