Changeset 2466

Show
Ignore:
Timestamp:
12/04/08 10:44:16 (3 months ago)
Author:
kraftche
Message:

Clean up mess with test output files. Files created by tests should
*not* be checked into SVN? or included in tarballs. Such files *must*
be written to the test build directory (not the source directory if
they are different) and must be cleaned up during "make clean".

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cgm/trunk/test/Makefile.am

    r2247 r2466  
    4747test_occ_LDFLAGS = $(LDFLAGS) $(LINK_FLAGS) 
    4848 
     49# Files that are used as input to tests, and therefore 
     50# must be included in tarball for tests to run. 
    4951EXTRA_DIST = 62_shaver1.brep \ 
    5052             66_shaver3.brep \ 
     
    5557             beforesub2.occ_ref \ 
    5658             unite1.occ\ 
    57              unite2.occ\ 
    58              unite3.occ\ 
    59              unite4.occ\ 
    60              unite5.occ\ 
    61              unite6.occ\ 
    6259             huge.sat \ 
    6360             model1.sat \ 
     
    6966             model7.sat \ 
    7067             hollow.sat \ 
    71              stitch.occ_name \ 
    72              webcut_with_brick.sat \ 
    73              webcut_with_curve_loop.sat \ 
    74              webcut_with_extended_surf.sat \ 
    75              webcut_with_sheet.sat \ 
    76              webcut_with_sweep_along_curve.sat \ 
    77              webcut_with_sweep_surfaces.sat \ 
    78              webcut_with_sweep_surfaces_along_curve.sat \ 
    79              webcut_with_sweep_surfaces_rotated.sat 
     68             stitch.occ_name  
    8069 
     70# Files that are created by tests, and that therefore  
     71#  - should be removed during 'make clean' 
     72#  - should not be included in tarball 
     73MOSTLYCLEANFILES = \ 
     74        webcut_with_brick.sat \ 
     75        webcut_with_cylinder.sat \ 
     76        webcut_with_sheet.sat \ 
     77        webcut_with_sweep_rotational.sat \ 
     78        webcut_with_sweep_curves.sat \ 
     79        webcut_with_sweep_along_curve.sat \ 
     80        webcut_with_curve_loop.sat \ 
     81        webcut_with_extended_surf.sat \ 
     82        webcut_with_sweep_surfaces_rotated.sat \ 
     83        webcut_with_sweep_surfaces.sat \ 
     84        webcut_with_sweep_surfaces_along_curve.sat \ 
     85        webcut_with_sweep_surfaces_perp.sat \ 
     86        point.occ \ 
     87        stitch.occ \ 
     88        beforesub.occ \ 
     89        beforesub2.occ \ 
     90        aftersub.occ \ 
     91        unite2.occ \ 
     92        unite3.occ \ 
     93        unite5.occ \ 
     94        unite6.occ  
     95 
  • cgm/trunk/test/webcut.cpp

    r2265 r2466  
    163163  int num_ents_exported=0; 
    164164  const CubitString cubit_version="10.2"; 
    165   const char * filename = STRINGIFY(SRCDIR) "/webcut_with_brick.sat"; 
     165  const char * filename = "webcut_with_brick.sat"; 
    166166  const char * filetype = "ACIS_SAT"; 
    167167  rsl = gti->export_solid_model(ref_entity_list, filename, filetype,  
     
    214214  int num_ents_exported=0; 
    215215  const CubitString cubit_version="10.2"; 
    216   const char * filename = STRINGIFY(SRCDIR) "webcut_with_cylinder.sat"; 
     216  const char * filename = "webcut_with_cylinder.sat"; 
    217217  const char * filetype = "ACIS_SAT"; 
    218218  rsl = gti->export_solid_model(ref_entity_list, filename, filetype, 
     
    267267  int num_ents_exported=0; 
    268268  const CubitString cubit_version="10.2"; 
    269   const char * filename = STRINGIFY(SRCDIR) "/webcut_with_sheet.sat"; 
     269  const char * filename = "webcut_with_sheet.sat"; 
    270270  const char * filetype = "ACIS_SAT"; 
    271271  rsl =  gti->export_solid_model(ref_entity_list, filename, filetype,  
     
    335335  int num_ents_exported=0; 
    336336  const CubitString cubit_version="10.2"; 
    337   const char * filename = STRINGIFY(SRCDIR) "webcut_with_sweep_rotational.sat"; 
     337  const char * filename = "webcut_with_sweep_rotational.sat"; 
    338338  const char * filetype = "ACIS_SAT"; 
    339339  rsl = gti->export_solid_model(ref_entity_list, filename, filetype, 
     
    395395  int num_ents_exported=0; 
    396396  const CubitString cubit_version="10.2"; 
    397   const char * filename = STRINGIFY(SRCDIR) "webcut_with_sweep_curves.sat"; 
     397  const char * filename = "webcut_with_sweep_curves.sat"; 
    398398  const char * filetype = "ACIS_SAT"; 
    399399  rsl = gti->export_solid_model(ref_entity_list, filename, filetype, 
     
    466466  int num_ents_exported=0; 
    467467  const CubitString cubit_version="10.2"; 
    468   const char * filename = STRINGIFY(SRCDIR) "/webcut_with_sweep_along_curve.sat"; 
     468  const char * filename = "webcut_with_sweep_along_curve.sat"; 
    469469  const char * filetype = "ACIS_SAT"; 
    470470  rsl = gti->export_solid_model(ref_entity_list, filename, filetype, 
     
    523523  int num_ents_exported=0; 
    524524  const CubitString cubit_version="10.2"; 
    525   const char * filename = STRINGIFY(SRCDIR) "/webcut_with_curve_loop.sat"; 
     525  const char * filename = "webcut_with_curve_loop.sat"; 
    526526  const char * filetype = "ACIS_SAT"; 
    527527  rsl = gti->export_solid_model(ref_entity_list, filename, filetype, 
     
    576576  int num_ents_exported=0; 
    577577  const CubitString cubit_version="10.2"; 
    578   const char * filename = STRINGIFY(SRCDIR) "/webcut_with_extended_surf.sat"; 
     578  const char * filename = "webcut_with_extended_surf.sat"; 
    579579  const char * filetype = "ACIS_SAT"; 
    580580  rsl = gti->export_solid_model(ref_entity_list, filename, filetype, 
     
    627627  int num_ents_exported=0; 
    628628  const CubitString cubit_version="10.2"; 
    629   const char * filename = STRINGIFY(SRCDIR) "/webcut_with_sweep_surfaces_rotated.sat"; 
     629  const char * filename = "webcut_with_sweep_surfaces_rotated.sat"; 
    630630  const char * filetype = "ACIS_SAT"; 
    631631  rsl = gti->export_solid_model(ref_entity_list, filename, filetype, 
     
    677677  int num_ents_exported=0; 
    678678  const CubitString cubit_version="10.2"; 
    679   const char * filename = STRINGIFY(SRCDIR) "/webcut_with_sweep_surfaces.sat"; 
     679  const char * filename = "webcut_with_sweep_surfaces.sat"; 
    680680  const char * filetype = "ACIS_SAT"; 
    681681  rsl = gti->export_solid_model(ref_entity_list, filename, filetype, 
     
    737737  int num_ents_exported=0; 
    738738  const CubitString cubit_version="10.2"; 
    739   const char * filename = STRINGIFY(SRCDIR) "/webcut_with_sweep_surfaces_along_curve.sat"; 
     739  const char * filename = "webcut_with_sweep_surfaces_along_curve.sat"; 
    740740  const char * filetype = "ACIS_SAT"; 
    741741  rsl = gti->export_solid_model(ref_entity_list, filename, filetype,