Turning on unit tests build and run during precommit.

This commit is contained in:
Ruben Ayrapetyan
2015-02-16 19:18:30 +03:00
parent d50cff78ac
commit 03c81e96e9
10 changed files with 101 additions and 101 deletions
+5 -8
View File
@@ -17,21 +17,18 @@
* Unit test for pool manager.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#define JERRY_MEM_POOL_INTERNAL
#include "jrt.h"
#include "jerry-libc.h"
#include "mem-allocator.h"
#include "mem-pool.h"
#include "mem-poolman.h"
extern "C"
{
extern void srand (unsigned int __seed);
extern int rand (void);
extern long int time (long int *__timer);
}
// Iterations count
const uint32_t test_iters = 16384;