]> xenbits.xensource.com Git - libvirt.git/commit
tests: virschema: Propagate errors from directory traversal in testSchemaDir
authorPeter Krempa <pkrempa@redhat.com>
Tue, 19 Nov 2019 10:55:05 +0000 (11:55 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 Nov 2019 11:57:50 +0000 (12:57 +0100)
commit2eb7c683323c1b0b6170e8cfa482ad5eb66bc86c
treeb49e9306faff135d4a06beec8499366aa6958b6d
parentd154807d5b94542f5132c817c090779e864f2163
tests: virschema: Propagate errors from directory traversal in testSchemaDir

testSchemaDir is a helper which invokes the schema test using virTestRun
on all schema files. Since the function itself is not called inside
virTestRun any helper function call is not dispatched to the user and
thus it's hard to debug the test. Propagate errors from the directory
traversal.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/virschematest.c