Make QEMU test suite independant of host OS capabilities

This commit is contained in:
Daniel P. Berrange
2008-05-16 16:51:30 +00:00
parent a770c2ab1c
commit 40a82f3066
8 changed files with 109 additions and 17 deletions

View File

@@ -13,6 +13,7 @@
#include "internal.h"
#include "testutils.h"
#include "qemu_conf.h"
#include "testutilsqemu.h"
static char *progname;
static char *abs_srcdir;
@@ -86,7 +87,7 @@ main(int argc, char **argv)
if (!abs_srcdir)
abs_srcdir = getcwd(cwd, sizeof(cwd));
driver.caps = qemudCapsInit();
driver.caps = testQemuCapsInit();
#define DO_TEST(name) \
if (virtTestRun("QEMU XML-2-XML " name, \