Commit graph

1252 commits

Author SHA1 Message Date
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
ac5e095903 Created data directory for test data.
Fixed platform test suite.

--HG--
rename : test/test-automation/icon.bmp => test/test-automation/data/images/icon.bmp
2011-08-06 18:29:14 +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
Markus Kauppila
26ac384e0b Added doxygen markup for the boundary value functions. 2011-08-04 21:09:17 +03:00
Markus Kauppila
b7ea34ca55 Cleaned the dummy suite a bit. 2011-08-04 20:54:27 +03:00
Markus Kauppila
cdd56f176b Added empty test suite for render tests. 2011-08-04 20:52:39 +03:00
Markus Kauppila
4ae611f924 Added empty test suite for testing rwops. 2011-08-04 20:45:12 +03:00
Markus Kauppila
716a42e945 Added functions that generate random boundary values
for Uint16, Uint32 and Uint64 to the fuzzer.
2011-08-04 20:17:21 +03:00
Markus Kauppila
e45c8d7526 Refining boundary value generator. 2011-08-03 20:43:32 +03:00
Ryan C. Gordon
75b5258790 testmultiaudio.c needs to #include <stdio.h>. 2011-08-03 03:12:07 -04:00
Markus Kauppila
c2b70264ed Fixing execution key generation based on CR. 2011-08-02 12:46:40 +03:00
Markus Kauppila
1633238f90 Fixed ScanForTestSuites function based on CR. 2011-08-02 11:20:11 +03:00
Markus Kauppila
55a247608b Changed SetUpLogger based on CR. 2011-07-31 20:01:34 +03:00
Markus Kauppila
77405acdd9 Fixed harness seed generation based on CR.
Fixed a bug from SetUpLogger() function.
2011-07-31 19:08:38 +03:00
Markus Kauppila
be0b32e441 Fixed type from usage info. 2011-07-29 19:52:16 +03:00
Markus Kauppila
9de66a170d Fixed problem in ScanForTestSuites concerning hidden
files. Plus other little fixes.
2011-07-29 18:18:37 +03:00
Markus Kauppila
7b89865bd4 Fixed potential memory leak from test case loading. 2011-07-29 16:22:03 +03:00
Markus Kauppila
43b873b89a Runner prints some info to user, including where
to find the generated test report.
2011-07-28 22:19:09 +03:00
Markus Kauppila
e6997f706e Fixed an issue with fuzzing seeds. 2011-07-28 22:11:30 +03:00
Markus Kauppila
ed4e1582bf Made run seed more file name friendly. 2011-07-28 21:35:47 +03:00
Markus Kauppila
9e514b68d3 Logger logs to file on default.
Directory and file name can be changed by using options
--logdir and --logfile. Option --log-stdout forces harness
to log to stdout.
2011-07-28 18:32:27 +03:00
Markus Kauppila
b4a88b8bef Added randomly generated harness seed. 2011-07-27 18:37:47 +03:00
Markus Kauppila
e769714114 Added simple logging levels to logging system.
Added new option: --verbose.
Fixed help for option --version.
2011-07-27 17:48:07 +03:00
Markus Kauppila
6132d65fa6 Changing the execution key generator.
Fixed --iterations option.
2011-07-25 20:32:31 +03:00
Markus Kauppila
46f39ab285 Logger logs harness seed and test execution keys in hex representation. 2011-07-25 19:33:32 +03:00
Markus Kauppila
279a841b64 Refining the fuzzer. Adding new functions and fixing the old ones. 2011-07-25 18:51:57 +03:00
Markus Kauppila
fc76a5fa6a Fixing the previous commit. 2011-07-24 18:58:36 +03:00
Markus Kauppila
afbf90dc78 Adding elementary support for fuzzing.
New options: --seed [VALUE] --exec-key [EXEC-KEY] --iterations VALUE
2011-07-24 18:21:53 +03:00
Markus Kauppila
f1e162b811 Merged two heads. 2011-07-21 14:22:17 +03:00
Markus Kauppila
04bcf13dc2 Added count of skipped tests to default xsl style. 2011-07-21 13:57:55 +03:00
Andreas Schiffler
a2c9c4d217 Added test case for power management function; improved assertions in tests 2011-07-20 23:04:55 -07:00
Markus Kauppila
1ba2041d01 Fixed linking issue concerning test suites.
Fixed linux build (it compiles and runs properly).
2011-07-20 23:37:58 +03:00
Markus Kauppila
51d6f10f01 Fixing linking issues using shared object. 2011-07-20 19:57:42 +03:00
Markus Kauppila
47fe168753 Using SDL timer to kill hung tests. 2011-07-20 19:32:34 +03:00
Markus Kauppila
82d0a86964 Refined test skipping. 2011-07-19 21:38:15 +03:00
Markus Kauppila
e16810661d Testing out implementation for skipping unsupported test
automatically.
2011-07-18 22:26:26 +03:00
Markus Kauppila
8190ae317e Refined the string escaping algorithm. 2011-07-18 17:16:38 +03:00
Markus Kauppila
6ab0dd4945 Fixes to logging system. 2011-07-18 16:37:02 +03:00
Markus Kauppila
6e2972bd81 Added --timeout VALUE command option. 2011-07-18 16:16:41 +03:00
Markus Kauppila
00fc5d8daf Refactored a bit. 2011-07-18 15:25:54 +03:00
Markus Kauppila
0bcc47f4b6 Harness warns about tests that request timeout when it's not
available.
2011-07-18 14:41:01 +03:00
Andreas Schiffler
9db859c159 Fixed SDL_SetError() by making NULL fmt a no-op, update test automation 2011-07-17 20:59:34 -07:00
Markus Kauppila
73bd015b16 Merging two heads. 2011-07-17 19:19:35 +03:00
Markus Kauppila
c9ca0a4609 Fixed logging noise coming from unimplemented optional test
suite functions SetUp and TearDown.
2011-07-17 11:17:40 +03:00
Andreas Schiffler
97ae8a553d Expanded and updated testplatform suite. 2011-07-16 20:12:25 -07:00
Markus Kauppila
254a81687d Fixed doxygen markup. 2011-07-14 21:04:31 +03:00