From: Jim Meyering Date: Mon, 24 Nov 2008 07:11:26 +0000 (+0000) Subject: Move the expected output data from virshdata/*.txt into virshtest.c. X-Git-Tag: LIBVIRT_0_5_0~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b5393f27aed15b3b6333d007ad556ad7009bc88;p=thirdparty%2Flibvirt.git Move the expected output data from virshdata/*.txt into virshtest.c. * tests/virshtest.c: Embed literal, expected output here, rather than using virshdata/*.txt file names. Factor out some common constructs. (testCompareOutputLit): New function. (testCompareOutput): #ifdef-out, not that it's unused. * tests/Makefile.am (SUBDIRS): Remove virshdata/ and all files in it. * docs/testnode.xml: Fix typo in a comment. * configure.in (AC_OUTPUT): Remove tests/virshdata/Makefile. --- diff --git a/ChangeLog b/ChangeLog index 692476dfda..d209ba1e1c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Mon Nov 24 08:10:49 +0100 2008 Jim Meyering + + Move the expected output data from virshdata/*.txt into virshtest.c. + * tests/virshtest.c: Embed literal, expected output here, rather than + using virshdata/*.txt file names. + Factor out some common constructs. + (testCompareOutputLit): New function. + (testCompareOutput): #ifdef-out, not that it's unused. + * tests/Makefile.am (SUBDIRS): Remove virshdata/ and all files in it. + * docs/testnode.xml: Fix typo in a comment. + * configure.in (AC_OUTPUT): Remove tests/virshdata/Makefile. + Fri Nov 21 23:51:19 +0100 2008 Jim Meyering * gnulib/tests/test-EOVERFLOW: Remove. diff --git a/configure.in b/configure.in index 76e6d77187..47b9388c6f 100644 --- a/configure.in +++ b/configure.in @@ -1227,7 +1227,7 @@ AC_OUTPUT(Makefile src/Makefile include/Makefile docs/Makefile \ tests/sexpr2xmldata/Makefile \ tests/xmconfigdata/Makefile \ tests/xencapsdata/Makefile \ - tests/virshdata/Makefile tests/confdata/Makefile \ + tests/confdata/Makefile \ examples/domain-events/events-c/Makefile) AC_MSG_NOTICE([]) diff --git a/docs/testnode.xml b/docs/testnode.xml index 7df10b0984..be7121d81e 100644 --- a/docs/testnode.xml +++ b/docs/testnode.xml @@ -1,6 +1,6 @@