Fix run_tests.sh to respect args after --.

Bug fix because we are clearly parsing it above and then ignoring the arguments afterward anyway. This will allow me to divide up the Selenium tests without any changes using Jenkins' configuration matrix plugin I think.
This commit is contained in:
John Chilton
2018-05-01 11:25:29 -04:00
parent fad0392166
commit 20c3d09d85
+1 -1
View File
@@ -593,7 +593,7 @@ if [ -n "$with_framework_test_tools_arg" ]; then
GALAXY_TEST_TOOL_CONF="config/tool_conf.xml.sample,test/functional/tools/samples_tool_conf.xml"
export GALAXY_TEST_TOOL_CONF
fi
python $test_script $coverage_arg -v --with-nosehtml --html-report-file $report_file $xunit_args $structured_data_args $extra_args
python $test_script $coverage_arg -v --with-nosehtml --html-report-file $report_file $xunit_args $structured_data_args $extra_args "$@"
exit_status=$?
echo "Testing complete. HTML report is in \"$report_file\"." 1>&2
exit ${exit_status}