|
Revision 1172:c591911a6497, 1.9 kB
(checked in by Nate Coraor <nate@bx.psu.edu>, 9 months ago)
|
Separate framework and tool environments.
Whether running locally or via PBS, $PATH should now be handled in your
user's environment.
This also fixes problems like PYTHONPATH on the new blast nodes being
wrong (because they are x86_64 and the frontends are i686).
Note that you can actually start Galaxy without having an eggs dir now.
|
| Line | |
|---|
| 1 |
#!/bin/sh |
|---|
| 2 |
|
|---|
| 3 |
# A good place to look for nose info: http://somethingaboutorange.com/mrl/projects/nose/ |
|---|
| 4 |
|
|---|
| 5 |
rm -f run_functional_tests.log |
|---|
| 6 |
|
|---|
| 7 |
if [ ! $1 ]; then |
|---|
| 8 |
python -ES ./scripts/nosetests.py -v -w test --with-nosehtml --html-report-file run_functional_tests.html --exclude="^get" functional |
|---|
| 9 |
elif [ $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" |
|---|
| 15 |
elif [ $1 = '-id' ]; then |
|---|
| 16 |
python -ES ./scripts/nosetests.py -v -w test functional.test_toolbox:TestForTool_$2 --with-nosehtml --html-report-file run_functional_tests.html |
|---|
| 17 |
elif [ $1 = '-sid' ]; then |
|---|
| 18 |
python -ES ./scripts/nosetests.py --with-nosehtml --html-report-file run_functional_tests.html -v -w test `python tool_list.py $2` |
|---|
| 19 |
elif [ $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::')" |
|---|
| 24 |
else |
|---|
| 25 |
python -ES ./scripts/nosetests.py -v -w test --with-nosehtml --html-report-file run_functional_tests.html $1 |
|---|
| 26 |
fi |
|---|
| 27 |
|
|---|
| 28 |
echo "'run_functional_tests.sh help' for help" |
|---|
| 29 |
echo "Note: galaxy test framework uses tool_conf.xml.sample, not tool_conf.xml" |
|---|