Markus Kauppila
fab5f54fd3
Creating flexible logging system which supports XML and plain
...
text. Work under progress.
2011-06-21 19:31:46 +03: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
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
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
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
Markus Kauppila
b6d5aa6142
Runner can execute multiple test suites consecutively.
2011-06-04 18:50:41 +03:00
Markus Kauppila
31ed925ea9
Fixed old comments and added new ones.
2011-06-04 18:08:54 +03:00
Markus Kauppila
1c52082e17
Test case fails if it doesn't contain any asserts.
2011-06-04 17:58:46 +03:00
Markus Kauppila
6e6d706e75
Refactoring the TestCaseInit and TestCaseQuit functions
...
to be caller from the Runner.
2011-06-04 17:50:23 +03:00
Markus Kauppila
991519d59d
Ported testrect from original automation code, updated AssertEquals, added AssertTrue
2011-06-01 18:03:09 -07:00
Markus Kauppila
0a18a5b73a
Refactoring runner.c. Added --help/-h command line option.
2011-06-01 12:29:19 +03:00
Markus Kauppila
50805a6b0a
Fixes to doxygen comments.
...
Changed some printf() to fprints(stderr).
2011-05-31 14:40:28 +03:00
Markus Kauppila
b96acda96a
Moved tests/SDL_test.{c,h}
2011-05-30 21:57:04 +03:00
Markus Kauppila
ced3b56198
Fixed doxygen warnings
2011-05-30 18:58:20 +03:00
Markus Kauppila
9ef336918a
Refactoring the code (runner.c).
...
Adding support for executing tests in-proc.
2011-05-30 12:55:40 +03:00
Markus Kauppila
79359313d4
Added doxygen-compatible comments
2011-05-30 11:53:59 +03:00
Andreas Schiffler
40bfbbdbf9
Fixed global suite declaration segfault via external linkage declaration
2011-05-26 20:13:49 -07:00
Markus Kauppila
e022f90b60
Little fixes here and there.
2011-05-26 19:57:03 +03:00
Markus Kauppila
7a278b2f78
Added TestCaseReference structure.
2011-05-26 19:19:46 +03:00
Markus Kauppila
94e6e4cea9
Refactoring the massive main() to smaller functions.
2011-05-26 18:38:56 +03:00
Markus Kauppila
f3bee868b4
Some fixes for Linux compatibility.
2011-05-25 09:45:03 -07:00
Markus Kauppila
53b99958d9
Fixed an error from make target: install
2011-05-25 19:02:43 +03:00
Markus Kauppila
09e6c52b0e
New automake-based build process.
2011-05-25 18:53:48 +03:00
Markus Kauppila
f218d77732
Simplifying
2011-05-24 10:25:25 +03:00
Markus Kauppila
553838dce5
Tiny changes to runner
2011-05-23 17:49:06 +03:00
Markus Kauppila
5af8eaab18
Added assertEquals(Uint32, Uint32) function
2011-05-23 13:14:09 +03:00
Markus Kauppila
f052579c0b
Tiny Makefile.in fixes
2011-05-23 10:43:49 +03:00
Markus Kauppila
f9c339ef02
Bootstrapping build process using proof-of-concept test runner.
2011-05-20 13:50:52 +03:00
Sam Lantinga
fa1116223a
Clarified SDL_GetWindowSurface() documentation
...
Matthew Orlando to Sam
Someone asked in IRC whether they should free the surface from SDL_GetWindowSurface. The doc comment is a bit vague so i checked the code and revised the comment.
2011-04-22 09:06:29 -07:00
Sam Lantinga
057ae6ca57
Fixed so SDL_quit.h doesn't require SDL_compat.h
2011-04-21 09:50:29 -07:00
Ryan C. Gordon
b19ae59651
Make assert dialog work on Cocoa target even if we haven't initialized video.
2011-04-20 15:14:18 -04:00