mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 15:46:17 +01:00
8a97dc5652
This test checks the performance of connecting, disconnecting and blocking many handlers. Various cases are checked: disconnect in the same order, in the inverse order, at random. Connect to one signal on a single object, to two signals on the same object, or to the same signal on two different objects. https://bugzilla.gnome.org/show_bug.cgi?id=737009
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
include $(top_srcdir)/glib-tap.mk
|
|
|
|
LDADD = ../libgobject-2.0.la $(top_builddir)/glib/libglib-2.0.la
|
|
AM_CPPFLAGS = -g $(gobject_INCLUDES) $(GLIB_DEBUG_FLAGS)
|
|
DEFS = -DG_LOG_DOMAIN=\"GLib-GObject\"
|
|
AM_CFLAGS = $(GLIB_WARN_CFLAGS)
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
test_programs = \
|
|
qdata \
|
|
boxed \
|
|
enums \
|
|
param \
|
|
threadtests \
|
|
dynamictests \
|
|
binding \
|
|
properties \
|
|
reference \
|
|
valuearray \
|
|
type \
|
|
private \
|
|
closure \
|
|
object \
|
|
signal-handler \
|
|
$(NULL)
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
test_programs += ifaceproperties
|
|
ifaceproperties_SOURCES = ifaceproperties.c testcommon.h
|
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
test_programs += signals
|
|
signals_SOURCES = signals.c
|
|
nodist_signals_SOURCES = marshalers.c marshalers.h
|
|
signals.o: marshalers.h
|
|
CLEANFILES += marshalers.h marshalers.c
|
|
EXTRA_DIST += marshalers.list
|
|
|
|
if CROSS_COMPILING
|
|
glib_genmarshal=$(GLIB_GENMARSHAL)
|
|
else
|
|
glib_genmarshal=$(top_builddir)/gobject/glib-genmarshal
|
|
endif
|
|
|
|
marshalers.h: Makefile.am marshalers.list
|
|
$(AM_V_GEN) $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --header --valist-marshallers > marshalers.h
|
|
|
|
marshalers.c: Makefile.am marshalers.h marshalers.list
|
|
$(AM_V_GEN) (echo "#include \"marshalers.h\""; $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --body --valist-marshallers) > $@.tmp && mv $@.tmp $@
|