Move test_utils.h to server/core/test

This commit is contained in:
Johan Wikman 2016-10-13 21:43:20 +03:00
parent d04cb54b9f
commit 2fe58ebe5b
5 changed files with 5 additions and 4 deletions

View File

@ -35,8 +35,8 @@
#include <errno.h>
#include <maxscale/poll.h>
#include <maxscale/dcb.h>
#include <maxscale/test_utils.h>
#include <maxscale/listener.h>
#include "test_utils.h"
/**
* test1 Allocate a service and do lots of other things

View File

@ -39,9 +39,9 @@ extern int debug_check_fail;
#include <errno.h>
#include <maxscale/queuemanager.h>
#include <maxscale/random_jkiss.h>
#include <maxscale/test_utils.h>
#include <maxscale/hk_heartbeat.h>
#include <maxscale/alloc.h>
#include "test_utils.h"
/**
* test1 Allocate a queue and do lots of other things

View File

@ -33,10 +33,10 @@
#include <stdlib.h>
#include <string.h>
#include <maxscale/maxscale_test.h>
#include <maxscale/test_utils.h>
#include <maxscale/service.h>
#include <maxscale/gwdirs.h>
#include <maxscale/alloc.h>
#include "test_utils.h"
/**
* test1 Allocate a service and do lots of other things

View File

@ -2330,7 +2330,8 @@ diagnostic(FILTER *instance, void *fsession, DCB *dcb)
}
#ifdef BUILD_RULE_PARSER
#include <test_utils.h>
// TODO: Not ok to include file from other component's test directory.
#include "../../../core/test/test_utils.h"
int main(int argc, char** argv)
{