mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-29 00:55:22 +00:00
856e84a516
This unifies the test scripts to all use the similar pattern added for
schematests in ace4aecd
. This gives the following
- Enables running all tests from outside of tests/ dir
- Drops redundant abs_* definitions, which are set by test-lib.sh
- Drops unnecessary srcdir variable which was only used for sourcing
test-lib.sh
Behavior changes:
- srcdir can no longer be overwritten, but I don't know why anyone would
really need to...
- Script VERBOSE setting no longer prints commands executed by test-lib.sh.
if anyone cares I suggest handling this in test-lib.sh which already
has other verbose style handling
15 lines
418 B
Bash
Executable File
15 lines
418 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "$(dirname $0)/test-lib.sh"
|
|
. $abs_srcdir/schematestutils.sh
|
|
|
|
DIRS=""
|
|
DIRS="$DIRS domainschemadata qemuargv2xmldata qemuxml2argvdata sexpr2xmldata"
|
|
DIRS="$DIRS xmconfigdata xml2sexprdata qemuxml2xmloutdata"
|
|
DIRS="$DIRS lxcxml2xmldata lxcxml2xmloutdata"
|
|
DIRS="$DIRS bhyvexml2argvdata genericxml2xmlindata genericxml2xmloutdata"
|
|
DIRS="$DIRS xlconfigdata"
|
|
SCHEMA="domain.rng"
|
|
|
|
check_schema "$DIRS" "$SCHEMA"
|