Hello everyone,
I've been trying to get some functional tests developed for my tools and I'm trying to figure out how to properly run them. I'm following the guide at
https://wiki.galaxyproject.org/TestingInstalledTools but when I run the functional tests against tools installed from my tool shed I get some strange error messages like:
Can't open perl script "//find-repeats.pl": No such file or directoryIt can't find the script because in the tool XML file it is being run using an environment variable like
<command interpreter="perl">
The environment variable is set up in one of the dependency packages for this tool.
If I set this environment variable manually "
export VCF2PSEUDO=/path/to/dir" and then run the tests with:
export GALAXY_TOOL_DEPENDENCY_DIR=tool_dependencies
sh run_functional_tests.sh -installedThen all my tests properly work.