Changes between Version 5 and Version 6 of Testing_Quickstart

Show
Ignore:
Timestamp:
10/15/08 22:55:40 (16 years ago)
Author:
blyth (IP: 118.165.164.116)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Testing_Quickstart

    v5 v6  
    179179 
    180180 
     181= Interactive Test Running = 
     182 
     183Note the '''trunk''' in the {{{BUILD_PATH}}}, as it is a repository path : 
     184{{{ 
     185export BUILD_PATH=dybgaudi/trunk/RootIO/RootIOTest 
     186dyb__test -v    
     187}}} 
     188  * the {{{-v}}} is a verbosity option passed to  nosetests  
     189 
     190== Example of running !RootIO tests == 
     191 
     192{{{ 
     193 
     194[dayabaysoft@grid1 dayabaysoft]$ export BUILD_PATH=dybgaudi/trunk/RootIO/RootIOTest 
     195[dayabaysoft@grid1 dayabaysoft]$ dyb__test -v 
     196=== dyb__test : invoking context... [-v] from /home/dayabaysoft 
     197------------------------------------------ 
     198Configuring environment for standalone package. 
     199CMT version v1r20p20070720. 
     200System is Linux-i686 
     201------------------------------------------ 
     202Creating setup scripts. 
     203Creating cleanup scripts. 
     204BUILD_PATH=dybgaudi/trunk/RootIO/RootIOTest 
     205NUWA_HOME=/disk/d3/dayabay/local/dyb/trunk_dbg/NuWa-trunk 
     206=== dyb__test : invoking clean... [-v] from /disk/d3/dayabay/local/dyb/trunk_dbg/NuWa-trunk/dybgaudi/RootIO/RootIOTest 
     207=== dyb__test : invoking nosetests... [-v] from /disk/d3/dayabay/local/dyb/trunk_dbg/NuWa-trunk/dybgaudi/RootIO/RootIOTest 
     208test_io.test_genio ... FAIL 
     209test_io.test_rootio ... ok 
     210test_io.test_simio ... FAIL 
     211test_io.test_dybio ... ok 
     212 
     213====================================================================== 
     214FAIL: test_io.test_genio 
     215---------------------------------------------------------------------- 
     216Traceback (most recent call last): 
     217  File "/disk/d3/dayabay/local/dyb/trunk_dbg/external/Python/2.5.2/slc3_i686_gcc323/lib/python2.5/site-packages/nose-0.10.3-py2.5.egg/nose/case.py", line 182, in runTest 
     218    self.test(*self.arg) 
     219  File "/disk/d3/dayabay/local/dyb/trunk_dbg/NuWa-trunk/dybgaudi/RootIO/RootIOTest/tests/test_io.py", line 18, in test_genio 
     220    Run( "python share/geniotest.py output"  , parser=m , opts=opts )().assert_() 
     221  File "/disk/d3/dayabay/local/dyb/trunk_dbg/installation/trunk/dybtest/python/dybtest/run.py", line 48, in assert_ 
     222    assert self.prc == 0 , self 
     223AssertionError: <Run "<CommandLine "python share/geniotest.py output" rc:0 duration:19 [] >" opts:{'maxtime': 300, 'timeout': -1.0, 'verbose': True} prc:1 parser:<Matcher {'.*ERROR': 1, 
     224 '.*FATAL': 2, 
     225 '.*\\*\\*\\* Break \\*\\*\\* segmentation violation': 3, 
     226 '^\\#\\d': None} >  > 
     227-------------------- >> begin captured stdout << --------------------- 
     228forking <Run "<CommandLine "python share/geniotest.py output" rc:None duration:None [] >" opts:{'maxtime': 300, 'timeout': -1.0, 'verbose': True} prc:0 parser:<Matcher {'.*ERROR': 1, 
     229 '.*FATAL': 2, 
     230 '.*\\*\\*\\* Break \\*\\*\\* segmentation violation': 3, 
     231 '^\\#\\d': None} >  >  
     232[1] XmlCnvSvc                  ERROR Expression evaluation error: UNKNOWN_VARIABLE 
     233[1] XmlCnvSvc                  ERROR [ADoavHeight/2.+ReflectorOffset] 
     234[1] XmlCnvSvc                  ERROR Expression evaluation error: UNKNOWN_VARIABLE 
     235[1] XmlCnvSvc                  ERROR [-ADoavHeight/2.-ReflectorOffset] 
     236[1] XmlCnvSvc                  ERROR   ^ 
     237subprocess returned ... <CommandLine "python share/geniotest.py output" rc:0 duration:19 [] >  
     238completed <Run "<CommandLine "python share/geniotest.py output" rc:0 duration:19 [] >" opts:{'maxtime': 300, 'timeout': -1.0, 'verbose': True} prc:1 parser:<Matcher {'.*ERROR': 1, 
     239 '.*FATAL': 2, 
     240 '.*\\*\\*\\* Break \\*\\*\\* segmentation violation': 3, 
     241 '^\\#\\d': None} >  >  
     242 
     243 
     244 
     245}}} 
     246 
     247 
    181248 
    182249= Automated Build/Test Running =