root/galaxy-central/run_functional_tests.sh

リビジョン 2, 1.9 KB (コミッタ: hatakeyama, 14 年 前)

import galaxy-central

  • 属性 svn:executable の設定値 *
行番号 
1#!/bin/sh
2
3# A good place to look for nose info: http://somethingaboutorange.com/mrl/projects/nose/
4export PATH=/usr/local/bin:$PATH
5rm -f run_functional_tests.log
6
7if [ ! $1 ]; then
8        python ./scripts/functional_tests.py -v --with-nosehtml --html-report-file run_functional_tests.html --exclude="^get" functional
9elif [ $1 = 'help' ]; then
10        echo "'run_functional_tests.sh'                       for testing all the tools in functional directory"
11        echo "'run_functional_tests.sh aaa'                   for testing one test case of 'aaa' ('aaa' is the file name with path)"
12        echo "'run_functional_tests.sh -id bbb'               for testing one tool with id 'bbb' ('bbb' is the tool id)"
13        echo "'run_functional_tests.sh -sid ccc'              for testing one section with sid 'ccc' ('ccc' is the string after 'section::')"
14        echo "'run_functional_tests.sh -list'                 for listing all the tool ids"
15elif [ $1 = '-id' ]; then
16        python ./scripts/functional_tests.py -v functional.test_toolbox:TestForTool_$2 --with-nosehtml --html-report-file run_functional_tests.html
17elif [ $1 = '-sid' ]; then
18        python ./scripts/functional_tests.py --with-nosehtml --html-report-file run_functional_tests.html -v `python tool_list.py $2`
19elif [ $1 = '-list' ]; then
20        python tool_list.py
21        echo "==========================================================================================================================================="
22        echo "'run_functional_tests.sh -id bbb'               for testing one tool with id 'bbb' ('bbb' is the tool id)"
23        echo "'run_functional_tests.sh -sid ccc'              for testing one section with sid 'ccc' ('ccc' is the string after 'section::')"
24else
25        python ./scripts/functional_tests.py -v --with-nosehtml --html-report-file run_functional_tests.html $1
26fi
27
28echo "'run_functional_tests.sh help'                  for help"
29echo "Note: galaxy test framework uses tool_conf.xml.sample, not tool_conf.xml"
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。