#! /bin/csh -f # Test Function for vtkImageEMLocalSegment - all environment variables are automatically set if (${?OS} == 0) then setenv OS $OSTYPE endif setenv SLICER_HOME ../../.. if ($OS == Linux) then setenv VTK_EXE $SLICER_HOME/slicer2-linux-x86 endif if ($OS == solaris) then setenv VTK_EXE $SLICER_HOME/slicer2-solaris-sparc endif if ($OS == Windows_NT) then setenv VTK_EXE $SLICER_HOME/slicer2-win32.exe endif # This is just necessary to run comparison script - # so you can still run the test without having the variable underneath defined # Just compare the the result of the script with TestImageEMLocalSegmentResult.* # setenv SCRIPT_HOME c:/cygwin/home/ai3/kpohl/slicer_devel/slicer2_lmi/EMLocalSegment setenv SCRIPT_HOME ${SLICER_HOME}/Modules/vtkEMPrivateSegment ${VTK_EXE} TestImageEMLocalSegment.tcl $*