Commit graph

36 commits

Author SHA1 Message Date
Sam Lantinga
c3070d2b3a Added a function to clean up test text drawing 2017-09-08 04:14:05 -07:00
Ryan C. Gordon
fca3874ab4 Fixed a bunch of compiler warnings.
--HG--
extra : rebase_source : a2c94cfaf300f4d9f5b7855489ed05c8e23de9fd
2017-08-29 15:52:49 -04:00
Sam Lantinga
1b24bfad38 Updated copyright for 2017 2017-01-01 18:33:28 -08:00
Ryan C. Gordon
95f124004f Fixed more compiler warnings.
--HG--
extra : amend_source : 1308f531582719c674844d7aff00a60cc7d36c68
2016-11-23 11:49:26 -05:00
Sam Lantinga
f69c47aaea Fixed bug 1646 - Warnings from clang with -Weverything 2016-11-15 01:30:08 -08:00
Sam Lantinga
f4d3ca201b Fixed build error with missing function prototype in the SDL_test_harness.h header 2016-11-13 23:09:42 -08:00
Sam Lantinga
dae32409e9 Patch from Sylvain to fix clang warnings 2016-11-13 22:57:41 -08:00
Philipp Wiesemann
fedb2f13aa Fixed compile warnings in test library about formats strings not being literals.
Partially fixes Bugzilla #3375.
2016-06-25 19:40:44 +02:00
Sam Lantinga
7ee8dda270 Updated copyright to 2016 2016-01-02 10:10:34 -08:00
Philipp Wiesemann
633a357db0 Fixed memory leak in test harness.
Found by Cppcheck.
2015-07-06 21:02:20 +02:00
Sam Lantinga
56b58afdbe Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
Andreas Schiffler
1c89d592b7 Fix option for forced run of disabled tests in test harness 2014-07-06 20:41:39 -07:00
Sam Lantinga
29eae011c5 Don't redefine standard macros, use SDL specific macros instead to avoid compiler warnings 2014-06-23 11:06:50 -07:00
Sam Clegg
1925fe9cf9 Fix compiler warnings in Native Client and Linux builds. 2014-06-20 11:10:16 -03:00
Brandon Schaefer
de4a745643 Turns out visualstudio does not like PRIu64, soo lets just cast it to llu. 2014-06-05 15:37:33 -07:00
Brandon Schaefer
d5eb114f44 Fix warnings, only major one being an SDL_SetError not providing enough arguments. 2014-06-05 15:29:23 -07:00
Andreas Schiffler
abd90144b3 Fix bug/add test coverage for SDLTest_GenerateRunSeed helper; improve test harness adding output of repro steps for failures; improve negative test for SDL_GetError/SDL_SetError 2014-03-11 07:17:56 -07:00
Sam Lantinga
d7940a513e Fixed bug 2374 - Update copyright for 2014...
Is it that time already??
2014-02-02 00:53:27 -08:00
Philipp Wiesemann
4900721db6 Fixed spaces in source file license comment. 2014-01-29 00:29:14 +01:00
Sam Lantinga
c6b7c0f507 Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)). 2013-08-29 08:30:21 -07:00
Gabriel Jacobo
298ce1c1a7 OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
Sam Lantinga
0cb6385637 File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
Andreas Schiffler
2ff60371f5 Update test harness to handle test return codes; fix comment format in harness; update Main test suite to handle globally disabled features 2013-05-18 09:35:09 -07:00
Sam Lantinga
95dcfa4c28 Happy New Year! 2013-02-15 08:47:44 -08:00
Andreas Schiffler
ade15e571f Add tests to audio suite; update harness filter logic 2013-01-31 08:45:30 -08:00
Andreas Schiffler
d9a9083464 Added audio test suite; minor code cleanups in test lib 2012-12-24 14:43:57 -08:00
Andreas Schiffler
2e4dc511a0 Fix compiler warning; minor harness driver cleanup; fix test build for SDL versions compiled with --disable-joystick or --disable-haptic 2012-12-22 20:43:51 -08:00
Sam Lantinga
b11f967898 Fixed const correctness in the test harness 2012-12-22 17:24:14 -08:00
Andreas Schiffler
81eb615d45 Test lib updates: updated harness to support filtering, added surface comparer, updated interface to test images; added Render test suite from GSOC project 2012-12-22 16:06:55 -08:00
Andreas Schiffler
fa5fe44bc0 Port clipboard and rwops test suites from GSOC code; minor updates to harness and fuzzer in test lib 2012-12-16 21:59:29 -08:00
Andreas Schiffler
adefd543ce Fixes in harness and fuzzer test lib components; improve harness driver; add rect test suite 2012-12-15 21:50:17 -08:00
Andreas Schiffler
a6185d6ad9 Refactor/fix test lib harness, assert and log component; add harness driver; port platform suite from GSOC code 2012-12-14 23:05:34 -08:00
Andreas Schiffler
84aaf1fed9 Added existing common.c/.h functions to test lib; minor assert refactoring 2012-12-09 17:56:19 -08:00
Andreas Schiffler
23ed51ea1b Added to harness in test lib (work in progress) 2012-12-04 19:21:10 -08:00
Andreas Schiffler
d4bfe07a4f Update assert API in test lib; add to and harness; add test lib to VS2010 and VS2012 solution; fix VS2012 solution; fix compiler warning 2012-12-01 14:48:30 -08:00
Andreas Schiffler
a8af7eca89 Add log, assert and harness (partial) to test lib 2012-11-30 23:25:34 -08:00