https://github.com/galaxyproject/galaxy
Raw File
Tip revision: 439bb6297885024572ba067fb78015422655e25d authored by mvdbeek on 07 May 2024, 13:55:37 UTC
Create version 24.0.2
Tip revision: 439bb62
validate_test_tools.sh
#!/bin/sh

cd "$(dirname "$0")"/..

xsd_path="lib/galaxy/tools/xsd/galaxy.xsd"
# Lint the XSD
xmllint --noout "$xsd_path"

test_tools_path='test/functional/tools'
# test all test tools except upload.xml which uses a non-standard conditional
# (without param) which does not survive xsd validation
tool_files_list=$(ls "$test_tools_path"/*.xml | grep -v '_conf.xml$' | grep -v upload.xml)
sh scripts/validate_tools.sh $tool_files_list
back to top