Fixing execution key generation based on CR.

This commit is contained in:
Markus Kauppila 2011-08-02 12:46:40 +03:00
parent 1633238f90
commit c2b70264ed
12 changed files with 86 additions and 59 deletions

View file

@ -22,6 +22,8 @@
#include <stdarg.h> /* va_list */
#include <time.h>
#include <SDL/SDL_stdinc.h>
#include "logger.h"
#include "fuzzer/fuzzer.h"
@ -37,12 +39,9 @@ int _testAssertsFailed;
int _testAssertsPassed;
void
_InitTestEnvironment(char *execKey)
_InitTestEnvironment(Uint64 execKey)
{
// The execKey gets corrupted while passing arguments
// hence the global variable to circumvent the problem
InitFuzzer(globalExecKey);
InitFuzzer(execKey);
_testReturnValue = TEST_RESULT_PASS;
_testAssertsFailed = 0;