mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2026-01-09 22:25:30 +00:00
Check if expected g_warning messages are logged. Related: rhbz#1339572 Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
47 lines
895 B
Makefile
47 lines
895 B
Makefile
NULL =
|
|
|
|
AM_CPPFLAGS = \
|
|
-DLOCALE_DIR=\""$(datadir)/locale"\" \
|
|
-DG_LOG_DOMAIN=\"virt-viewer\" \
|
|
-I$(top_srcdir)/src/ \
|
|
-I$(top_srcdir)/tests/ \
|
|
$(GLIB2_CFLAGS) \
|
|
$(GTK_CFLAGS) \
|
|
$(WARN_CFLAGS) \
|
|
$(NULL)
|
|
|
|
LDADD= \
|
|
$(top_builddir)/src/libvirt-viewer-util.la \
|
|
$(GLIB2_LIBS) \
|
|
$(GTK_LIBS) \
|
|
$(LIBXML2_LIBS) \
|
|
$(NULL)
|
|
|
|
TESTS = test-version-compare test-monitor-mapping test-hotkeys
|
|
check_PROGRAMS = $(TESTS)
|
|
test_version_compare_SOURCES = \
|
|
test-version-compare.c \
|
|
$(NULL)
|
|
|
|
test_monitor_mapping_SOURCES = \
|
|
test-monitor-mapping.c \
|
|
$(NULL)
|
|
|
|
test_hotkeys_SOURCES = \
|
|
test-hotkeys.c \
|
|
$(NULL)
|
|
|
|
test_hotkeys_LDADD = \
|
|
$(top_builddir)/src/libvirt-viewer.la \
|
|
$(LDADD) \
|
|
$(NULL)
|
|
|
|
if OS_WIN32
|
|
TESTS += redirect-test
|
|
redirect_test_SOURCES = redirect-test.c
|
|
redirect_test_LDFLAGS = -Wl,--subsystem,windows
|
|
redirect_test_CPPFLAGS = $(GLIB2_CFLAGS)
|
|
endif
|
|
|
|
-include $(top_srcdir)/git.mk
|