Changeset 362:dbf285166217

Show
Ignore:
Timestamp:
06/22/07 11:25:14 (2 years ago)
Author:
Jianbin He <jbhe@bx.psu.edu>
branch:
default
convert_revision:
svn:9bcadc22-80f8-0310-8a53-c8f022958886/galaxy/trunk@1663
Message:

add one more option for run_functional_tests.sh: listing all the ids

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • run_functional_tests.sh

    r358 r362  
    22 
    33rm -f run_functional_tests.log  
    4         echo "'run_functional_tests.sh help'    for help" 
     4        echo "'run_functional_tests.sh help'                  for help" 
    55 
    66if [ ! $1 ]; then 
    77        ./nosetests.sh -v -w test --with-nosehtml --html-report-file run_functional_tests.html --exclude="^get" functional 
    88elif [ $1 = 'help' ]; then 
    9         echo "'run_functional_tests.sh'         for testing all the tools in functional directory" 
    10         echo "'run_functional_tests.sh aaa'     for testing one test case, 'aaa'" 
    11         echo "'run_functional_tests.sh -id bbb' for testing one tool with id 'bbb'" 
     9        echo "'run_functional_tests.sh'                       for testing all the tools in functional directory" 
     10        echo "'run_functional_tests.sh aaa'                   for testing one test case, 'aaa'" 
     11        echo "'run_functional_tests.sh -id bbb'               for testing one tool with id 'bbb'" 
     12        echo "'run_functional_tests.sh -list'                 for listing all the tool ids" 
    1213elif [ $1 = '-id' ]; then 
    1314        ./nosetests.sh -v -w test functional.test_toolbox:GeneratedToolTestCase_$2 
     15elif [ $1 = '-list' ]; then 
     16        python tool_list.py 
     17        echo "===========================================================================================================================================" 
     18        echo "'run_functional_tests.sh help'                  for help" 
     19        echo "'run_functional_tests.sh -id bbb'               for testing one tool with id 'bbb'" 
    1420else 
    1521        ./nosetests.sh -v -w test --with-nosehtml --html-report-file run_functional_tests.html $1