]> xenbits.xensource.com Git - libvirt.git/commit
build: expand rule to cover testsuite
authorEric Blake <eblake@redhat.com>
Thu, 2 Feb 2012 23:16:43 +0000 (16:16 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 3 Feb 2012 17:41:46 +0000 (10:41 -0700)
commit8fe454ce90899945b1d16674668a0208657b6e61
tree80cf4fbffcfab6e8d6ff43b1064e111cbafefdc9
parenta7cfd709f4be9aa15e380adf6af20e8f4bc729e7
build: expand rule to cover testsuite

The bulk of this patch was done with:

sed -i 's/\(\bfree *(/VIR_FREE(/g' tests/*.c

followed by fixing the few compile errors that resulted.

* cfg.mk (exclude_file_name_regexp--sc_prohibit_raw_allocation):
Remove tests from exemption.
* tests/testutils.h: Add common header.
* tests/commandhelper.c: Fix offenders.
* tests/cputest.c: Likewise.
* tests/domainsnapshotxml2xmltest.c: Likewise.
* tests/interfacexml2xmltest.c: Likewise.
* tests/networkxml2argvtest.c: Likewise.
* tests/networkxml2xmltest.c: Likewise.
* tests/nodedevxml2xmltest.c: Likewise.
* tests/nodeinfotest.c: Likewise.
* tests/nwfilterxml2xmltest.c: Likewise.
* tests/qemuargv2xmltest.c: Likewise.
* tests/qemuxml2argvtest.c: Likewise.
* tests/qemuxml2xmltest.c: Likewise.
* tests/qemuxmlnstest.c: Likewise.
* tests/qparamtest.c: Likewise.
* tests/sexpr2xmltest.c: Likewise.
* tests/storagepoolxml2xmltest.c: Likewise.
* tests/storagevolxml2xmltest.c: Likewise.
* tests/testutils.c: Likewise.
* tests/virshtest.c: Likewise.
* tests/xencapstest.c: Likewise.
* tests/xmconfigtest.c: Likewise.
* tests/xml2sexprtest.c: Likewise.
24 files changed:
cfg.mk
tests/commandhelper.c
tests/cputest.c
tests/domainsnapshotxml2xmltest.c
tests/interfacexml2xmltest.c
tests/networkxml2argvtest.c
tests/networkxml2xmltest.c
tests/nodedevxml2xmltest.c
tests/nodeinfotest.c
tests/nwfilterxml2xmltest.c
tests/qemuargv2xmltest.c
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c
tests/qemuxmlnstest.c
tests/qparamtest.c
tests/sexpr2xmltest.c
tests/storagepoolxml2xmltest.c
tests/storagevolxml2xmltest.c
tests/testutils.c
tests/testutils.h
tests/virshtest.c
tests/xencapstest.c
tests/xmconfigtest.c
tests/xml2sexprtest.c