tests: Rename virtTestMain to virTestMain.

This function doesn't follow our convention of naming functions.
This commit is contained in:
Tomáš Ryšavý 2016-05-26 17:02:08 +02:00 committed by John Ferlan
parent 6151dc2f55
commit 1a41ed5af5
2 changed files with 10 additions and 10 deletions

View File

@ -841,7 +841,7 @@ virTestSetEnvPath(void)
#define TEST_MOCK (abs_builddir "/.libs/virtestmock.so")
int virtTestMain(int argc,
int virTestMain(int argc,
char **argv,
int (*func)(void),
...)

View File

@ -100,7 +100,7 @@ void virTestQuiesceLibvirtErrors(bool always);
void virTestCounterReset(const char *prefix);
const char *virTestCounterNext(void);
int virtTestMain(int argc,
int virTestMain(int argc,
char **argv,
int (*func)(void),
...);
@ -108,7 +108,7 @@ int virtTestMain(int argc,
/* Setup, then call func() */
# define VIRT_TEST_MAIN(func) \
int main(int argc, char **argv) { \
return virtTestMain(argc, argv, func, NULL); \
return virTestMain(argc, argv, func, NULL); \
}
# define VIRT_TEST_PRELOAD(lib) \
@ -133,7 +133,7 @@ int virtTestMain(int argc,
# define VIRT_TEST_MAIN_PRELOAD(func, ...) \
int main(int argc, char **argv) { \
return virtTestMain(argc, argv, func, __VA_ARGS__, NULL); \
return virTestMain(argc, argv, func, __VA_ARGS__, NULL); \
}
virCapsPtr virTestGenericCapsInit(void);