src/Testing/SectTest.cc
//-----------------------------------------------------------------------------
//                  Run Specific Single Test (By Index or Name)
//-----------------------------------------------------------------------------
Run Specific Single Test (By Index or Name)
Run Specific Single Test ( By Index or Name )
int SectTest::TestSingle(std::ostream& ostr, int tidx, int anew)
  {
  if(!CheckIndex(tidx, 1)) 			
    { STfatality(17); }				
  std::list<SingleTest>::iterator item;              
  item = GetPixNC(tidx);			
  return ((*item).runtest(ostr, anew));	
  }
int SectTest :: TestSingle ( std :: ostream & ostr , int tidx , int anew ) { if ( ! CheckIndex ( tidx , 1 ) ) { STfatality ( 17 ) ; } std :: list < SingleTest > :: iterator item ; item = GetPixNC ( tidx ) ; return ( ( * item ) . runtest ( ostr , anew ) ) ; }
Run Specific Single Test (By Index or Name)
Run Specific Single Test ( By Index or Name )
// Insure test tidx exists // Cannot run requested test // A Pix into list of tests // Get Pix for requested test // Run test, return result