Changeset 358:98664464cc14

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

modify: (add) testing one tool and one case

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • run_functional_tests.sh

    r3 r358  
    11#!/bin/sh 
    22 
    3 rm -f run_functional_tests.log 
    4 ./nosetests.sh -v -w test \ 
    5     --with-nosehtml --html-report-file run_functional_tests.html \ 
    6     --exclude="^get" functional 
     3rm -f run_functional_tests.log  
     4        echo "'run_functional_tests.sh help'    for help" 
     5 
     6if [ ! $1 ]; then 
     7        ./nosetests.sh -v -w test --with-nosehtml --html-report-file run_functional_tests.html --exclude="^get" functional 
     8elif [ $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'" 
     12elif [ $1 = '-id' ]; then 
     13        ./nosetests.sh -v -w test functional.test_toolbox:GeneratedToolTestCase_$2 
     14else 
     15        ./nosetests.sh -v -w test --with-nosehtml --html-report-file run_functional_tests.html $1 
     16fi 
     17