From 4d5471f1c634450020c4530f8d0c8dfcd7252fb3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 21 Aug 2012 08:16:24 +1000 Subject: build: Remove special case for the build farm Except in the formatting of the selftest output, this removes the special case of the build farm, so that an autobuild, a manual make test and the build farm are more similar. Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Tue Aug 21 06:39:04 CEST 2012 on sn-devel-104 --- source3/modules/vfs_aio_fork.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/modules') diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c index 1bbdae2985..811d44e6bb 100644 --- a/source3/modules/vfs_aio_fork.c +++ b/source3/modules/vfs_aio_fork.c @@ -355,10 +355,10 @@ static void aio_child_loop(int sockfd, struct mmap_area *map) cmd_type_str(cmd_struct.cmd), (int)cmd_struct.n, (int)cmd_struct.offset, fd)); -#ifdef ENABLE_BUILD_FARM_HACKS +#ifdef DEVELOPER { /* - * In the build farm, we want erratic behaviour for + * For developer testing, we want erratic behaviour for * async I/O times */ uint8_t randval; @@ -384,7 +384,7 @@ static void aio_child_loop(int sockfd, struct mmap_area *map) cmd_struct.offset); #if 0 /* This breaks "make test" when run with aio_fork module. */ -#ifdef ENABLE_BUILD_FARM_HACKS +#ifdef DEVELOPER ret_struct.size = MAX(1, ret_struct.size * 0.9); #endif #endif -- cgit