Commit graph

34 commits

Author SHA1 Message Date
Markus Kauppila
0ad7b65021 Cleans up the logger output a bit. Removes fuzzer invocation count
from the log if the fuzzer isn't used.
2011-09-10 19:27:39 +03:00
Andreas Schiffler
be0531f0fc Added tests for SDL_HasIntersection; added negative parameter tests; refactored existing test code 2011-09-04 20:37:01 -07:00
Andreas Schiffler
6584aa6a03 Added tests to testrect suite. Simple logger improvements. Fixed int-range fuzzer. 2011-09-04 14:57:10 -07:00
Markus Kauppila
967992d4d3 Fixed a typo. 2011-08-28 22:24:00 +03:00
Markus Kauppila
1a84329937 Minor cleaning. 2011-08-28 22:18:56 +03:00
Markus Kauppila
f4870f3996 Added elementary fuzzer-randgen invocation count. 2011-08-28 22:06:56 +03:00
Markus Kauppila
87e1417923 Test cases executed in their own process can now bail out if
assertion fails.

Note: Bailing out doesn't work with --in-proc option.
2011-08-28 21:00:38 +03:00
Markus Kauppila
103124ac9f Option --show-tests prints test description. 2011-08-28 20:27:25 +03:00
Markus Kauppila
877c391020 Fixed timestamp issue. 2011-08-28 20:08:36 +03:00
Markus Kauppila
d2d3506958 Changed logging behavior. Runner uses stdout as default and
file logging is enabled with --logfile [BASENAME] (or --logdir).
2011-08-28 20:01:25 +03:00
Markus Kauppila
8632b5f433 Fixed unit float and unit double generators. 2011-08-17 12:57:14 +03:00
Markus Kauppila
7d8de2d4ba Renamed RandomInteger to RandomSint32 and RandomUnsignedInteger
to RandomUint32.
2011-08-17 11:44:57 +03:00
Markus Kauppila
38ba3e6433 Fixed an issue with nonexistant function. 2011-08-17 10:34:42 +03:00
Markus Kauppila
cdb6aa7fcf Fixes based on CR.
Some tests in rwops suite broken up to smaller tests.
2011-08-15 21:41:28 +03:00
Markus Kauppila
516b5e80a7 Fixed 'runner > mylog' problem.
Runner will tell if verbose logging is switched on.
2011-08-15 19:40:41 +03:00
Markus Kauppila
499e8b0f01 Clean up. 2011-08-14 21:29:00 +03:00
Markus Kauppila
7ebdc0e829 Fixed the exec-key option. 2011-08-14 21:27:47 +03:00
Markus Kauppila
6c319b5d2b Updating dummy test suite. 2011-08-14 21:05:08 +03:00
Markus Kauppila
2df605db29 Added --include-dummy option. 2011-08-13 12:02:22 +03:00
Markus Kauppila
2080edeea3 Fixed the doxygen markup. 2011-08-11 22:26:33 +03:00
Markus Kauppila
8e4d708560 Added random number generators for Uint8, Sint8, Uint16, Sint16,
Uint64 and Sint64.
2011-08-11 12:48:45 +03:00
Markus Kauppila
694dda2a12 Added missing doxygen markup to some fuzzer functions. 2011-08-10 20:59:42 +03:00
Markus Kauppila
b96fa6da9a Ported rwops test suite. 2011-08-10 16:55:30 +03:00
Markus Kauppila
9c7ff0059f Refactored the fuzzer a bit. 2011-08-10 00:11:38 +03:00
Markus Kauppila
dc97e62cd6 Added boundary value generator functions for Sint8,
Sint16, Sint32 and Sint64.
2011-08-09 23:37:10 +03:00
Andreas Schiffler
9f4544e660 Fixed execKey generation 2011-08-06 12:56:43 -07:00
Markus Kauppila
7f2ecaa544 Little fix to help text in configure.ac 2011-08-06 21:48:37 +03:00
Markus Kauppila
7ffad15a4a Trying to fix linux compatibility -> libSDLtest.* is now installed
to /usr/local/lib.
2011-08-06 21:32:59 +03:00
Markus Kauppila
2ea1a8a90c Added Makefile.am's to hg. 2011-08-06 20:32:59 +03:00
Markus Kauppila
2253de34fe Fixed a bunch of compiler warnings. 2011-08-06 19:49:37 +03:00
Markus Kauppila
a3ce2b9778 Fixed 'make distclean' 2011-08-06 19:17:05 +03:00
Markus Kauppila
116f983b85 Updated the boilerplate files such as INSTALL and README. 2011-08-06 18:55:33 +03:00
Markus Kauppila
a70c5c1f3d Runner is automatically installed to . 2011-08-06 18:00:10 +03:00
Markus Kauppila
2f3c2a946c Reorganizing the project.
--HG--
rename : test/test-automation/SDL_test.h => test/test-automation/include/SDL_test.h
rename : test/test-automation/SDL_test.c => test/test-automation/src/libtest/SDL_test.c
rename : test/test-automation/common/common.c => test/test-automation/src/libtest/common/common.c
rename : test/test-automation/common/common.h => test/test-automation/src/libtest/common/common.h
rename : test/test-automation/common/images.h => test/test-automation/src/libtest/common/images.h
rename : test/test-automation/common/img_blit.c => test/test-automation/src/libtest/common/img_blit.c
rename : test/test-automation/common/img_blitblend.c => test/test-automation/src/libtest/common/img_blitblend.c
rename : test/test-automation/common/img_face.c => test/test-automation/src/libtest/common/img_face.c
rename : test/test-automation/common/img_primitives.c => test/test-automation/src/libtest/common/img_primitives.c
rename : test/test-automation/common/img_primitivesblend.c => test/test-automation/src/libtest/common/img_primitivesblend.c
rename : test/test-automation/fuzzer/fuzzer.c => test/test-automation/src/libtest/fuzzer/fuzzer.c
rename : test/test-automation/fuzzer/fuzzer.h => test/test-automation/src/libtest/fuzzer/fuzzer.h
rename : test/test-automation/fuzzer/utl_crc32.c => test/test-automation/src/libtest/fuzzer/utl_crc32.c
rename : test/test-automation/fuzzer/utl_crc32.h => test/test-automation/src/libtest/fuzzer/utl_crc32.h
rename : test/test-automation/fuzzer/utl_md5.c => test/test-automation/src/libtest/fuzzer/utl_md5.c
rename : test/test-automation/fuzzer/utl_md5.h => test/test-automation/src/libtest/fuzzer/utl_md5.h
rename : test/test-automation/fuzzer/utl_random.c => test/test-automation/src/libtest/fuzzer/utl_random.c
rename : test/test-automation/fuzzer/utl_random.h => test/test-automation/src/libtest/fuzzer/utl_random.h
rename : test/test-automation/logger_helpers.c => test/test-automation/src/libtest/logger_helpers.c
rename : test/test-automation/logger_helpers.h => test/test-automation/src/libtest/logger_helpers.h
rename : test/test-automation/plain_logger.c => test/test-automation/src/libtest/plain_logger.c
rename : test/test-automation/plain_logger.h => test/test-automation/src/libtest/plain_logger.h
rename : test/test-automation/xml.c => test/test-automation/src/libtest/xml.c
rename : test/test-automation/xml.h => test/test-automation/src/libtest/xml.h
rename : test/test-automation/xml_logger.c => test/test-automation/src/libtest/xml_logger.c
rename : test/test-automation/xml_logger.h => test/test-automation/src/libtest/xml_logger.h
rename : test/test-automation/logger.h => test/test-automation/src/runner/logger.h
rename : test/test-automation/runner.c => test/test-automation/src/runner/runner.c
rename : test/test-automation/support.c => test/test-automation/src/runner/support.c
rename : test/test-automation/support.h => test/test-automation/src/runner/support.h
rename : test/test-automation/testaudio/Makefile.am => test/test-automation/tests/testaudio/Makefile.am
rename : test/test-automation/testaudio/testaudio.c => test/test-automation/tests/testaudio/testaudio.c
rename : test/test-automation/testdummy/Makefile.am => test/test-automation/tests/testdummy/Makefile.am
rename : test/test-automation/testdummy/testdummy.c => test/test-automation/tests/testdummy/testdummy.c
rename : test/test-automation/testplatform/Makefile.am => test/test-automation/tests/testplatform/Makefile.am
rename : test/test-automation/testrect/Makefile.am => test/test-automation/tests/testrect/Makefile.am
rename : test/test-automation/testrect/testrect.c => test/test-automation/tests/testrect/testrect.c
rename : test/test-automation/testrender/Makefile.am => test/test-automation/tests/testrender/Makefile.am
rename : test/test-automation/testrender/testrender.c => test/test-automation/tests/testrender/testrender.c
rename : test/test-automation/testrwops/Makefile.am => test/test-automation/tests/testrwops/Makefile.am
rename : test/test-automation/testrwops/testrwops.c => test/test-automation/tests/testrwops/testrwops.c
rename : test/test-automation/testsurface/Makefile.am => test/test-automation/tests/testsurface/Makefile.am
rename : test/test-automation/testsurface/testsurface.c => test/test-automation/tests/testsurface/testsurface.c
2011-08-06 17:35:58 +03:00