version 1.3 | | version 1.4 |
---|
| | |
/* | | /* |
* static char *rcsid_check_arch_c = | | * static char *rcsid_check_arch_c = |
* "$Id: check_arch.c,v 1.3 2006/05/03 21:50:24 tchize Exp $"; | | * "$Id: check_arch.c,v 1.4 2006/06/01 23:07:32 tchize Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
#include <stdlib.h> | | #include <stdlib.h> |
#include <check.h> | | #include <check.h> |
#include <loader.h> | | #include <loader.h> |
| | #include <toolkit_common.h> |
| | |
void setup(void) { | | void setup(void) { |
settings.datadir=SOURCE_ROOT "lib" ; | | cctk_setdatadir(SOURCE_ROOT "lib"); |
settings.archetypes="archetypes"; | | cctk_setlog(LOGDIR "/unit/common/arch.out"); |
settings.treasures="treasures.bld"; | | cctk_init_std_archetypes(); |
settings.logfilename=LOGDIR "/unit/common/arch.out"; | | |
init_globals(); | | |
init_hash_table(); | | |
init_objects(); | | |
init_vars(); | | |
init_block(); | | |
read_bmap_names (); | | |
read_smooth(); | | |
init_anim(); | | |
init_archetypes(); | | |
/* put any initialisation steps here, they will be run before each testcase */ | | |
} | | } |
| | |
void teardown(void) | | void teardown(void) |