mirror of https://gitee.com/openkylin/libvirt.git
tests: Don't use "lib" prefix for mock libraries
virportallocatormock was the only one using it, and has been changed accordingly.
This commit is contained in:
parent
b4ddb8835c
commit
f6d6d21f71
|
@ -415,7 +415,7 @@ endif ! WITH_SECDRIVER_APPARMOR
|
|||
EXTRA_DIST += $(test_scripts)
|
||||
|
||||
test_libraries = libshunload.la \
|
||||
libvirportallocatormock.la \
|
||||
virportallocatormock.la \
|
||||
virnetserverclientmock.la \
|
||||
vircgroupmock.la \
|
||||
virpcimock.la \
|
||||
|
@ -1027,11 +1027,11 @@ virportallocatortest_SOURCES = \
|
|||
virportallocatortest.c testutils.h testutils.c
|
||||
virportallocatortest_LDADD = $(LDADDS)
|
||||
|
||||
libvirportallocatormock_la_SOURCES = \
|
||||
virportallocatormock_la_SOURCES = \
|
||||
virportallocatormock.c
|
||||
libvirportallocatormock_la_CFLAGS = $(AM_CFLAGS)
|
||||
libvirportallocatormock_la_LDFLAGS = $(MOCKLIBS_LDFLAGS)
|
||||
libvirportallocatormock_la_LIBADD = $(MOCKLIBS_LIBS)
|
||||
virportallocatormock_la_CFLAGS = $(AM_CFLAGS)
|
||||
virportallocatormock_la_LDFLAGS = $(MOCKLIBS_LDFLAGS)
|
||||
virportallocatormock_la_LIBADD = $(MOCKLIBS_LIBS)
|
||||
|
||||
vircgrouptest_SOURCES = \
|
||||
vircgrouptest.c testutils.h testutils.c
|
||||
|
|
|
@ -173,7 +173,7 @@ mymain(void)
|
|||
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||
}
|
||||
|
||||
VIRT_TEST_MAIN_PRELOAD(mymain, abs_builddir "/.libs/libvirportallocatormock.so")
|
||||
VIRT_TEST_MAIN_PRELOAD(mymain, abs_builddir "/.libs/virportallocatormock.so")
|
||||
#else /* ! defined(RTLD_NEXT) */
|
||||
int
|
||||
main(void)
|
||||
|
|
Loading…
Reference in New Issue