Gabriel Jacobo
c80fc2858b
Fixes test building
2013-08-28 10:41:25 -03:00
Gabriel Jacobo
298ce1c1a7
OCD fixes: Adds a space after /* (glory to regular expressions!)
2013-08-21 09:47:10 -03:00
Gabriel Jacobo
271e0d67c4
OCD fixes: Adds a space before */
2013-08-21 09:43:09 -03:00
Ryan C. Gordon
2b9a2802b2
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
...
--HG--
extra : rebase_source : c1fac232063443a2880e64f1abda85e0bdb2e710
2013-08-20 19:57:11 -04:00
Gabriel Jacobo
5e78879e76
More non C89 compliant comments
2013-08-20 20:34:40 -03:00
Andreas Schiffler
16a40598f6
Fix bug 2034: replace printf by SDL_Log in tests; update loopwave VS solution: copy missing dependency
2013-08-14 23:30:10 -07:00
Philipp Wiesemann
991e2fb26c
Fixed compiler warnings in test program by using wrapped functions.
2013-07-14 19:56:22 +02:00
Ryan C. Gordon
4e5bd8491f
Fixed compiler warning in testtimer.c
2013-07-14 13:25:49 -04:00
Philipp Wiesemann
4405163127
Fixed compiler warnings in test program by using wrapped functions.
2013-07-14 13:33:54 +02:00
Philipp Wiesemann
5aeed40282
Fixed compiler warnings in test programs by adding return statements.
2013-07-14 13:30:26 +02:00
Philipp Wiesemann
7ca8149a59
Fixed compiler warnings in test programs by adding includes directives.
2013-07-14 13:27:19 +02:00
Philipp Wiesemann
59401ae635
Fixed compiler warnings in test programs.
2013-07-13 21:13:09 +02:00
Philipp Wiesemann
f158b5f47e
Added missing fclose() in test program.
...
Found by Cppcheck.
2013-07-13 21:06:56 +02:00
Philipp Wiesemann
884898cbfc
Removed unused variable and not needed assignment in test program.
...
Found by Cppcheck.
2013-07-13 21:05:13 +02:00
Philipp Wiesemann
396bc93955
Fixed printf() usage in test program.
...
Found by Cppcheck.
2013-07-13 21:02:23 +02:00
Ryan C. Gordon
e46b85c7b1
Removed some unused variables.
2013-07-11 12:27:39 -04:00
Sam Lantinga
557bbf3fe6
Added release/acquire memory barriers to the atomic API
...
* Added a destructor to clean up TLS memory at thread shutdown
* Refactored the TLS code to have platform independent code and a small platform dependent core with a fallback to generic code if platform dependent functions fail.
* Fixed recursion issues with SDL_GetErrBuf()
2013-07-10 18:31:17 -07:00
Sam Lantinga
bfcb08d569
Implemented an API for thread-local storage: SDL_TLSCreate(), SDL_TLSSet(), SDL_TLSGet()
2013-07-10 02:32:04 -07:00
Edward Rudd
6f3b5c3641
change fsaa argument for testgl to accept a # of samples for FSAA
2013-07-08 17:51:17 -04:00
Sam Lantinga
30553ceb5b
Added automated test to validate conversion between all supported formats.
2013-07-07 12:34:26 -07:00
Sam Lantinga
1b4d1f20c1
We don't want to save the alpha modulation, we want to save the blend mode.
2013-06-27 11:49:19 -07:00
Sam Lantinga
a61d6e4500
Updated testshader for the SDL 2.0 API
2013-06-27 11:44:07 -07:00
Sam Lantinga
eb00bbd7f9
Better text printing for UTF-8 characters
2013-06-24 22:06:50 -07:00
Sam Lantinga
75894c0d8b
Updated timer test and fixed performance counter on Mac OS X
2013-06-23 22:19:38 -07:00
Andreas Schiffler
7827720b8b
Update testsprite2 for visual testing: user fuzzer and add --iteration parameter to enable deterministic screen end-state
2013-06-23 15:00:23 -07:00
Sam Lantinga
9293678409
Fixed bug 1916 - SDL_Keysym contains a deprecated field for unicode which may be removed.
...
Philipp Wiesemann
SDL_Keysym contains a deprecated field for unicode which may be removed for SDL 2.0 release.
As far as I can tell the field is not set on all "major" platforms and therefore will not be useful for most users. Its existence in a public header therefore becomes (in my opinion) only confusing.
2013-06-18 00:39:47 -07:00
Sam Lantinga
5aa3492ef8
Fixed SDL building with the minimal configuration
2013-06-13 22:10:10 -07:00
Sam Lantinga
8e07b6b727
Fixed building tests on iOS
2013-06-05 22:56:42 -07:00
Sam Lantinga
8731286cb4
We already link SDL2_test by default now.
2013-06-05 21:14:26 -07:00
Andreas Schiffler
5a7d3757f5
Add missing VS2012 test projects; update VS2010 and VS2012 solutions; update keybord suite for VS compiler warnings
2013-06-03 19:24:18 -07:00
Philipp Wiesemann
5966837f4a
Changed haptic test program to use announced effect type.
2013-06-02 14:18:26 +02:00
Sam Lantinga
a54ea6ce9f
Fixed testnative on Mac OS X, which no longer ships X11 by default.
2013-06-02 01:08:14 -07:00
Philipp Wiesemann
c30845f58b
Fixed test description in test suite for standard library.
2013-05-26 12:12:52 +02:00
Sam Lantinga
03210bff7e
Added the beginning of automated tests for the standard C library routines.
...
Implemented more SDL_snprintf format specifiers.
2013-05-24 03:23:21 -07:00
Sam Lantinga
91ff680aa5
Fixed bug 1837 - Use error extension instead of glGetError()
...
Implemented support for GL_ARB_debug_output, but was unable to test it on Mac OS X.
2013-05-19 22:28:10 -07:00
Andreas Schiffler
750f6fb9d9
Deprecate test/automated and test/test-automation (replaced by test/testautomation*.*)
2013-05-18 23:32:53 -07: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
Philipp Wiesemann
d3b85c8965
Changed spelling for consistency.
2013-05-15 22:10:06 +02:00
Andreas Schiffler
db04389abc
Fix fuzzer/fuzzer tests on 64bit Linux; remove invalid negative SDL_Scancode test; disable failing surface/render test cases
2013-05-12 15:00:00 -07:00
Philipp Wiesemann
bb1f191c0d
Fixed precedence warning in test suite for pixels.
2013-05-10 21:04:51 +02:00
Philipp Wiesemann
a5a75e0bde
Fixed test suite for mouse using Uint8 instead of Uint32 for buttons.
...
SDL_GetMouseState() returned Uint8 in SDL 1.2 but was changed recently.
2013-05-06 23:02:37 +02:00
Philipp Wiesemann
1139caac7f
Removed unreachable return statement from test suite for timer.
2013-05-06 23:01:14 +02:00
Philipp Wiesemann
be8e310e8d
Removed wrong documentation from test suite for render.
2013-05-06 23:00:30 +02:00
Andreas Schiffler
8ac64239e5
Add test for SDL_GetPixelFormatName to Pixels suite; minor improvements to Pixels suite
2013-05-06 08:13:44 -07:00
Andreas Schiffler
4ec8d70ca1
Add input validation to SDL_CalculateGammaRamp; add test coverage to Pixels suite; update test cases in Pixels suite
2013-05-05 11:17:40 -07:00
Philipp Wiesemann
b5c9f3354d
Corrected spelling in C source files of test suites.
2013-05-05 12:47:44 +02:00
Andreas Schiffler
28d45cd955
Added additional input validation to SDL_AllocPalette; added error codes; added test case to Pixels suite for coverage
2013-05-04 09:11:18 -07:00
Andreas Schiffler
985951f70e
Add pixels test suite; add a test to pixel suite; minor updates to test code to make VisualStudio happy
2013-05-01 22:14:29 -07:00
Philipp Wiesemann
7ba6d24ed9
Added missing return statements in test suite for audio.
2013-04-28 09:54:56 +02:00