Changing the execution key generator.

Fixed --iterations option.
This commit is contained in:
Markus Kauppila 2011-07-25 20:32:31 +03:00
parent 46f39ab285
commit 6132d65fa6
11 changed files with 64 additions and 53 deletions

View file

@ -29,7 +29,7 @@
/*!
* Inits the fuzzer for a test
*/
void InitFuzzer(const int execKey);
void InitFuzzer(char *execKey);
/*!
@ -110,8 +110,9 @@ char *RandomAsciiStringWithMaximumLength(int maxLength);
* \param testName Test name
* \param iteration Number of test iteration
*
* \return Generated execution key
* \return Generated execution key as blob of 16 bytes. It needs be deallocated.
* On error, returns NULL.
*/
int GenerateExecKey(CRC32_CTX crcContext, char *runSeed, char *suiteName, char *testName, int interationNumber);
char *GenerateExecKey(char *runSeed, char *suiteName, char *testName, int interationNumber);
#endif