Log when each phase starts and finishes.

This commit is contained in:
Dave Bouvier
2014-01-14 12:45:33 -05:00
parent d109923c09
commit c27db50d04
@@ -48,10 +48,12 @@ test_tool_dependency_definitions () {
if [ -f /ToolDepsTest/stage_1_complete ] ; then
rm /ToolDepsTest/stage_1_complete
fi
echo "Starting stage 1, tool dependency definitions."
python test/install_and_test_tool_shed_repositories/tool_dependency_definitions/functional_tests.py $* -v --with-nosehtml --html-report-file \
test/install_and_test_tool_shed_repositories/tool_dependency_definitions/run_functional_tests.html \
test/install_and_test_tool_shed_repositories/functional/test_install_repositories.py \
test/functional/test_toolbox.py
echo "Stage 1 complete, exit code $?"
touch /ToolDepsTest/stage_1_complete
}
@@ -60,11 +62,13 @@ test_repositories_with_tools () {
echo 'Stage 1 did not complete its run, exiting.'
exit 1
fi
echo "Starting stage 2, repositories with tools."
# Test installation of repositories that contain valid tools with defined functional tests and a test-data directory containing test files.
python test/install_and_test_tool_shed_repositories/repositories_with_tools/functional_tests.py $* -v --with-nosehtml --html-report-file \
test/install_and_test_tool_shed_repositories/repositories_with_tools/run_functional_tests.html \
test/install_and_test_tool_shed_repositories/functional/test_install_repositories.py \
test/functional/test_toolbox.py
echo "Stage 2 complete, exit code $?"
rm /ToolDepsTest/stage_1_complete
}