Skip to content

Commit

Permalink
Rename samples_tool_conf to sample_tool_conf to match datatypes/data_…
Browse files Browse the repository at this point in the history
…manager naming convention
  • Loading branch information
dannon committed Jan 10, 2023
1 parent c54ec2f commit d04fb67
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion doc/source/dev/writing_tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ or simply "Framework Tests".
Adding a tool test is as simple as finding a related tool in the sample
tools (``test/functional/tools``) and adding a test block to that file
or adding a new tool to this directory and referencing it in the
sample tool configuration XML (``test/functional/tools/samples_tool_conf.xml``).
sample tool configuration XML (``test/functional/tools/sample_tool_conf.xml``).

General information on writing Galaxy Tool Tests can be found in Planemo's
documentation - for instance in the [Test-Driven Development](https://planemo.readthedocs.io/en/latest/writing_advanced.html#test-driven-development)
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy_test/driver/driver_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
TEST_WEBHOOKS_DIR = os.path.join(galaxy_root, "test", "functional", "webhooks")
FRAMEWORK_TOOLS_DIR = os.path.join(GALAXY_TEST_DIRECTORY, "functional", "tools")
FRAMEWORK_UPLOAD_TOOL_CONF = os.path.join(FRAMEWORK_TOOLS_DIR, "upload_tool_conf.xml")
FRAMEWORK_SAMPLE_TOOLS_CONF = os.path.join(FRAMEWORK_TOOLS_DIR, "samples_tool_conf.xml")
FRAMEWORK_SAMPLE_TOOLS_CONF = os.path.join(FRAMEWORK_TOOLS_DIR, "sample_tool_conf.xml")
FRAMEWORK_DATATYPES_CONF = os.path.join(FRAMEWORK_TOOLS_DIR, "sample_datatypes_conf.xml")
MIGRATED_TOOL_PANEL_CONFIG = "config/migrated_tools_conf.xml"
INSTALLED_TOOL_PANEL_CONFIGS = [os.environ.get("GALAXY_TEST_SHED_TOOL_CONF", "config/shed_tool_conf.xml")]
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ setup_python

if [ ! -z "$GALAXY_RUN_WITH_TEST_TOOLS" ];
then
export GALAXY_CONFIG_OVERRIDE_TOOL_CONFIG_FILE="$(pwd)/test/functional/tools/samples_tool_conf.xml"
export GALAXY_CONFIG_OVERRIDE_TOOL_CONFIG_FILE="$(pwd)/test/functional/tools/sample_tool_conf.xml"
export GALAXY_CONFIG_ENABLE_BETA_WORKFLOW_MODULES="true"
export GALAXY_CONFIG_OVERRIDE_ENABLE_BETA_TOOL_FORMATS="true"
export GALAXY_CONFIG_INTERACTIVETOOLS_ENABLE="true"
Expand Down
10 changes: 5 additions & 5 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ do
-a|-api|--api)
GALAXY_TEST_USE_HIERARCHICAL_OBJECT_STORE="True" # Run these tests with a non-trivial object store.
export GALAXY_TEST_USE_HIERARCHICAL_OBJECT_STORE
GALAXY_TEST_TOOL_CONF="lib/galaxy/config/sample/tool_conf.xml.sample,test/functional/tools/samples_tool_conf.xml"
GALAXY_TEST_TOOL_CONF="lib/galaxy/config/sample/tool_conf.xml.sample,test/functional/tools/sample_tool_conf.xml"
marker="not cwl_conformance"
report_file="./run_api_tests.html"
if [ $# -gt 1 ]; then
Expand All @@ -328,7 +328,7 @@ do
-cwl|--cwl)
GALAXY_TEST_USE_HIERARCHICAL_OBJECT_STORE="True" # Run these tests with a non-trivial object store.
export GALAXY_TEST_USE_HIERARCHICAL_OBJECT_STORE
GALAXY_TEST_TOOL_CONF="lib/galaxy/config/sample/tool_conf.xml.sample,test/functional/tools/samples_tool_conf.xml"
GALAXY_TEST_TOOL_CONF="lib/galaxy/config/sample/tool_conf.xml.sample,test/functional/tools/sample_tool_conf.xml"
marker="cwl_conformance"
report_file="./run_cwl_tests.html"
generate_cwl_conformance_tests=1
Expand All @@ -341,7 +341,7 @@ do
fi
;;
-selenium|--selenium)
GALAXY_TEST_TOOL_CONF="lib/galaxy/config/sample/tool_conf.xml.sample,test/functional/tools/samples_tool_conf.xml"
GALAXY_TEST_TOOL_CONF="lib/galaxy/config/sample/tool_conf.xml.sample,test/functional/tools/sample_tool_conf.xml"
report_file="./run_selenium_tests.html"
skip_client_build=""
if [ $# -gt 1 ]; then
Expand Down Expand Up @@ -385,7 +385,7 @@ do
shift 2
;;
-f|-framework|--framework)
GALAXY_TEST_TOOL_CONF="test/functional/tools/samples_tool_conf.xml"
GALAXY_TEST_TOOL_CONF="test/functional/tools/sample_tool_conf.xml"
marker="tool"
report_file="run_framework_tests.html"
framework_test=1;
Expand Down Expand Up @@ -478,7 +478,7 @@ do
fi
;;
-i|-integration|--integration)
GALAXY_TEST_TOOL_CONF="lib/galaxy/config/sample/tool_conf.xml.sample,test/functional/tools/samples_tool_conf.xml"
GALAXY_TEST_TOOL_CONF="lib/galaxy/config/sample/tool_conf.xml.sample,test/functional/tools/sample_tool_conf.xml"
report_file="./run_integration_tests.html"
if [ $# -gt 1 ]; then
integration_extra=$2
Expand Down
2 changes: 1 addition & 1 deletion test/functional/tools/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ to ensure these tools get loaded during the testing process.
Finally, to play around with these tools interactively - simply
replace the 'galaxy.ini' option 'tool_config_file' with:

tool_config_file = test/functional/tools/samples_tool_conf.xml
tool_config_file = test/functional/tools/sample_tool_conf.xml
File renamed without changes.

0 comments on commit d04fb67

Please sign in to comment.