mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-08-29 02:26:59 +08:00
1a25ef6f58
to allow for stricter xml schema (enforce one param child)
14 lines
434 B
Bash
Executable File
14 lines
434 B
Bash
Executable File
#!/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
|