Commit Graph

11015 Commits

Author SHA1 Message Date
Markus Kauppila
38e9d81c9d Refining the output of XML logger. 2011-06-27 16:41:45 +03:00
Markus Kauppila
b0e36129e3 Added identation to the output of XML logger. 2011-06-27 11:53:14 +03:00
Markus Kauppila
ccbcb8034e Logging system added to harness. Logging system doesn't
yet utilize all the given parameters.
2011-06-26 23:04:37 +03:00
Nathan Heisey
b2716ca0a3 Replaced private event functionality with event sending. 2011-06-24 12:48:43 +00:00
Markus Kauppila
66a5bc6a81 Added case insensitivity to XML elements. 2011-06-24 14:35:14 +03:00
Markus Kauppila
3605a116df XML component no longer outputs the generated XML.
Fixed a bunch of compiler warnings.
2011-06-23 22:00:03 +03:00
Markus Kauppila
b4411f83b1 Fixed XML elements. Element's end tag is now properly formed. 2011-06-23 21:11:48 +03:00
Markus Kauppila
a0937cabe5 Added escaping special characters to their corresponding
entities in XML output.
2011-06-22 21:56:23 +03:00
Markus Kauppila
8a21c1e5ae Changed XML-generator to use static buffer instead of dynamically
allocated memory.
2011-06-22 18:13:06 +03:00
Markus Kauppila
95d54f4c4a XML elements now support single attribute. Fixes here and there. 2011-06-22 17:41:37 +03:00
Markus Kauppila
70261760dc Various fixes and additions to logger system. 2011-06-21 22:04:44 +03:00
Markus Kauppila
fab5f54fd3 Creating flexible logging system which supports XML and plain
text. Work under progress.
2011-06-21 19:31:46 +03:00
Nathan Heisey
6d2a50bca5 SDL 1.3 patch 00 for GSoC: Haiku - Implemented pthread spinlock in src/atomic/spinlock.c (in both trylock and
unlock).  Added appropriate checks in configure.in and include/SDL_configure.h.in.
2011-06-21 13:49:14 +00:00
Markus Kauppila
d361b710ff Refining XML-output module 2011-06-19 19:52:35 +03:00
Markus Kauppila
37785a86c2 Very early version of module that creates XML-based test reports. 2011-06-19 18:07:37 +03:00
Markus Kauppila
306370a258 Ported platform tests, added AssertPass and AssertFail 2011-06-18 10:36:27 -07:00
Markus Kauppila
1059c5101f Changed the title for README 2011-06-19 13:43:03 +03:00
Tim Angus
b0a6024896 * Add missing file SDL_hints_c.h 2011-06-15 10:28:01 +01:00
Markus Kauppila
f4a3a831a4 Added new command line option: --show-tests 2011-06-13 15:38:40 +03:00
Markus Kauppila
54610f623f Stub for generating doxygen main page from README. 2011-06-11 21:52:31 +03:00
Markus Kauppila
a41dd0ab5c Added timeout to TestCaseReference. 2011-06-11 21:37:28 +03:00
Markus Kauppila
913c312c8e Compatibility fix. Apparently all system don't have d_namlen member
in their DIR struct.
2011-06-11 08:11:03 -07:00
Tim Angus
e4de79558c * SDL_IOS_IDLE_TIMER_DISABLED hint 2011-06-10 14:23:36 +01:00
Tim Angus
2b47e23dc8 * SDL_IOS_ORIENTATIONS hint 2011-06-10 14:23:24 +01:00
Sam Lantinga
2b4bb0d58b Make SDL_QuitRequested() return an SDL_bool 2011-06-12 12:23:39 -04:00
Dimitris Zenios
316ae21313 Fixes a bug in SDL_UpdateTexture when using SDL_RENDERER_SOFTWARE and texture access is SDL_TEXTUREACCESS_STATIC 2011-06-10 12:13:06 +03:00
Ryan C. Gordon
41447caf1c Fixed memory leak in SDL_DestroyRenderer.
Fixes Bugzilla #1219.

Thanks to Dimitris Zenios for the patch!
2011-07-16 14:59:12 -07:00
Ryan C. Gordon
ce1df1e5db Cocoa: Update the current GL context when its window moves or resizes.
According to the NSOpenGLContext docs, you need to do this, and we were
 previously masking the need in the SDL_GL_MakeCurrent() implementation.
2011-07-16 11:52:09 -07:00
Ryan C. Gordon
36c9edd0e8 Turn SDL_GL_MakeCurrent() into a no-op if setting the same context twice. 2011-07-15 17:05:32 -07:00
Ryan C. Gordon
9a3d27d57c Linux: Search a smaller set of potential joystick axes.
Newer kernels seem to report bogus axes in the higher ranges, for example
 with a standard PlayStation 3 controller plugged in via USB.
2011-07-13 17:38:09 -07:00
Ryan C. Gordon
e476289e0f Properly set up default resolutions.
Fixes Bugzilla #1191.

Thanks to Jeremy Jurksztowicz for the fix!
2011-07-05 22:05:56 -04:00
Nathan Heisey
65e5a15393 Implemented pthread spinlocks. 2011-06-22 10:33:48 +00:00
Markus Kauppila
9eb8995a5d Fixed doxygen comments and usage help. 2011-06-09 18:30:06 +03:00
Markus Kauppila
43397ce08d Updated test case filter. 2011-06-09 18:13:46 +03:00
Markus Kauppila
9bf36c262a Added comments and did some cleaning. 2011-06-09 18:07:50 +03:00
Markus Kauppila
a4812a8bf2 Added test and suite names to the output. 2011-06-09 17:13:33 +03:00
Markus Kauppila
9a6ef3175b Creating pipeline for test case selection. Work in progress. 2011-06-09 16:37:51 +03:00
Markus Kauppila
3aedb87c6b Removed unnecessary function. 2011-06-08 19:41:12 +03:00
Markus Kauppila
99a5717c93 Fix: memory allocated for test suite references is freed 2011-06-08 18:38:38 +03:00
Markus Kauppila
3681c6e522 Initial version of "scan tests/ for test suites" functionality. 2011-06-07 21:11:11 +03:00
Markus Kauppila
813dff463b Add a comment. 2011-06-06 21:16:18 +03:00
Ryan C. Gordon
a74c9aa88d Fixed gcc warnings for apps using SDL headers with -Wundef flag.
Fixes Bugzilla #1216.

Thanks to Dimitris Zenios for the patch!
2011-06-06 12:20:04 -04:00
Markus Kauppila
0aa772bb98 Minor refactorings. 2011-06-06 18:37:53 +03:00
Markus Kauppila
2ed100a0cc Converted libtest to a more proper dummy test suite (libtestdummy). 2011-06-06 18:15:19 +03:00
Markus Kauppila
37e7051d12 Fix: Use DEFINE instead of plain number. 2011-06-05 18:44:58 +03:00
Markus Kauppila
c761e7bd79 Refactored a bit. Extracted the code which checks for
test suite selection to a function.
2011-06-05 18:38:06 +03:00
Markus Kauppila
f313322848 Small fixes to previous commit. 2011-06-05 17:34:04 +03:00
Markus Kauppila
b0a57ac402 Possible to execute only selected tests or suites. 2011-06-05 16:10:10 +03:00
Ryan C. Gordon
302081795c Updated configure.in to be compatible with autoconf 2.67.
Still works with autoconf 2.61 (what ships with Xcode 3).

Thanks to Frank Zago for this patch.
2011-06-04 15:26:02 -04:00
Markus Kauppila
b6d5aa6142 Runner can execute multiple test suites consecutively. 2011-06-04 18:50:41 +03:00