From: Daniel P. Berrange Date: Tue, 15 Sep 2009 17:38:50 +0000 (+0100) Subject: Move test driver into src/test/ X-Git-Tag: v0.7.2~189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b648155e7ad577c5e0ff42c1633fe913dca4946;p=thirdparty%2Flibvirt.git Move test driver into src/test/ * src/Makefile.am, src/libvirt.c: Adjust for changed paths * src/test.c: Rename to src/test/test_driver.c, * src/test.h: Rename to src/test/test_driver.h --- diff --git a/src/Makefile.am b/src/Makefile.am index 81c40e45a8..b2c2ca6187 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -104,7 +104,7 @@ REMOTE_DRIVER_SOURCES = \ # Mock driver, covering domains, storage, networks, etc TEST_DRIVER_SOURCES = \ - test.c test.h + test/test_driver.c test/test_driver.h diff --git a/src/libvirt.c b/src/libvirt.c index 6a0fb00a64..98f17ffc98 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -44,7 +44,7 @@ #ifndef WITH_DRIVER_MODULES #ifdef WITH_TEST -#include "test.h" +#include "test/test_driver.h" #endif #ifdef WITH_XEN #include "xen/xen_driver.h" diff --git a/src/test.c b/src/test/test_driver.c similarity index 99% rename from src/test.c rename to src/test/test_driver.c index 368a3cbfcc..778992c68c 100644 --- a/src/test.c +++ b/src/test/test_driver.c @@ -34,7 +34,7 @@ #include "virterror_internal.h" #include "datatypes.h" -#include "test.h" +#include "test_driver.h" #include "buf.h" #include "util.h" #include "uuid.h" diff --git a/src/test.h b/src/test/test_driver.h similarity index 100% rename from src/test.h rename to src/test/test_driver.h