Fixed issue with c tests running too fast (overwhelming plugin)
This commit is contained in:
@@ -9,10 +9,21 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#ifdef LINUX
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef WINDOWS
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#define SLEEP_AMOUNT 100000
|
||||
|
||||
#define feq(x, y) (fabs(x - y) < 1e-4)
|
||||
|
||||
#define IP "127.0.0.1"
|
||||
|
||||
void crossPlatformUSleep(int uSleep);
|
||||
|
||||
extern int testFailed;
|
||||
extern int testPassed;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user