#include <unistd.h>
#include <time.h>
#include <fnmatch.h>
-#include "server.h"
#include "test.h"
}
- if (next->pre)
+ if (next->pre && world.runner->pre)
{
return_code= world.runner->pre(next->pre, world_ptr);
gettimeofday(&end_time, NULL);
load_time= timedif(end_time, start_time);
- if (next->post)
+ if (next->post && world.runner->post)
{
- (void) world.runner->pre(next->pre, world_ptr);
+ (void) world.runner->post(next->post, world_ptr);
}
if (world.post_run)