Changeset 362:dbf285166217
- 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
| r358 |
r362 |
|
| 2 | 2 | |
|---|
| 3 | 3 | rm -f run_functional_tests.log |
|---|
| 4 | | echo "'run_functional_tests.sh help' for help" |
|---|
| | 4 | echo "'run_functional_tests.sh help' for help" |
|---|
| 5 | 5 | |
|---|
| 6 | 6 | if [ ! $1 ]; then |
|---|
| 7 | 7 | ./nosetests.sh -v -w test --with-nosehtml --html-report-file run_functional_tests.html --exclude="^get" functional |
|---|
| 8 | 8 | elif [ $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" |
|---|
| 12 | 13 | elif [ $1 = '-id' ]; then |
|---|
| 13 | 14 | ./nosetests.sh -v -w test functional.test_toolbox:GeneratedToolTestCase_$2 |
|---|
| | 15 | elif [ $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'" |
|---|
| 14 | 20 | else |
|---|
| 15 | 21 | ./nosetests.sh -v -w test --with-nosehtml --html-report-file run_functional_tests.html $1 |
|---|