2011-05-03 07:44:45 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2013-05-07 12:48:36 +00:00
|
|
|
NULL =
|
2011-05-03 07:44:45 +00:00
|
|
|
|
|
|
|
TEST_PROGS += gtk-reftest
|
|
|
|
|
|
|
|
check_PROGRAMS = $(TEST_PROGS)
|
|
|
|
|
|
|
|
gtk_reftest_CFLAGS = \
|
2013-05-02 22:32:07 +00:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)/gdk \
|
|
|
|
-I$(top_srcdir)/gdk \
|
|
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
|
|
-DGTK_DISABLE_DEPRECATED \
|
|
|
|
$(GTK_DEBUG_FLAGS) \
|
|
|
|
$(GTK_DEP_CFLAGS)
|
2011-05-03 07:44:45 +00:00
|
|
|
|
|
|
|
gtk_reftest_LDADD = \
|
2013-05-02 22:32:07 +00:00
|
|
|
$(top_builddir)/gdk/libgdk-3.la \
|
|
|
|
$(top_builddir)/gtk/libgtk-3.la \
|
2011-05-03 07:44:45 +00:00
|
|
|
$(GTK_DEP_LIBS)
|
|
|
|
|
|
|
|
gtk_reftest_SOURCES = \
|
|
|
|
gtk-reftest.c
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -rf output/ || true
|
|
|
|
|
|
|
|
EXTRA_DIST += \
|
2011-05-13 00:41:21 +00:00
|
|
|
align-expand.sh \
|
2013-05-07 12:52:35 +00:00
|
|
|
border-image-repeat.sh \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-05-09 16:38:08 +00:00
|
|
|
testdata = \
|
2013-11-01 20:51:31 +00:00
|
|
|
alignment-props.css \
|
|
|
|
alignment-props.ref.ui \
|
|
|
|
alignment-props.ui \
|
2011-06-11 00:12:35 +00:00
|
|
|
background-area.css \
|
|
|
|
background-area.ref.ui \
|
|
|
|
background-area.ui \
|
2011-09-26 20:33:40 +00:00
|
|
|
background-color-transparent.css \
|
|
|
|
background-color-transparent.ref.ui \
|
|
|
|
background-color-transparent.ui \
|
2012-05-11 14:30:46 +00:00
|
|
|
background-image-multiple.css \
|
|
|
|
background-image-multiple.ref.ui \
|
|
|
|
background-image-multiple.ui \
|
2011-11-24 21:00:49 +00:00
|
|
|
background-origin.css \
|
|
|
|
background-origin.ref.ui \
|
|
|
|
background-origin.ui \
|
2012-01-11 14:00:53 +00:00
|
|
|
background-positioning-area-empty.ref.ui \
|
|
|
|
background-positioning-area-empty.ui \
|
2012-03-16 21:14:14 +00:00
|
|
|
background-position.css \
|
|
|
|
background-position.ref.ui \
|
|
|
|
background-position.ui \
|
2012-05-30 15:30:02 +00:00
|
|
|
background-position-repeat.css \
|
|
|
|
background-position-repeat.ref.ui \
|
|
|
|
background-position-repeat.ui \
|
|
|
|
background-position-repeat-bg.png \
|
2012-05-30 15:33:27 +00:00
|
|
|
background-position-simple.css \
|
|
|
|
background-position-simple.ref.ui \
|
|
|
|
background-position-simple.ui \
|
2012-01-17 15:13:57 +00:00
|
|
|
background-size.css \
|
|
|
|
background-size.ref.ui \
|
|
|
|
background-size.ui \
|
2012-02-02 01:55:05 +00:00
|
|
|
background-size-keywords.css \
|
|
|
|
background-size-keywords.ref.ui \
|
|
|
|
background-size-keywords.ui \
|
2012-10-26 21:38:19 +00:00
|
|
|
background-size-zero.css \
|
|
|
|
background-size-zero.ref.ui \
|
|
|
|
background-size-zero.ui \
|
2012-02-09 12:45:31 +00:00
|
|
|
background-window-transparent.css \
|
|
|
|
background-window-transparent.ref.ui \
|
|
|
|
background-window-transparent.ui \
|
2013-03-28 22:17:32 +00:00
|
|
|
bad-color-names.css \
|
|
|
|
bad-color-names.ref.ui \
|
|
|
|
bad-color-names.ui \
|
2011-11-24 21:00:49 +00:00
|
|
|
reference-background-origin.png \
|
2011-06-12 23:52:42 +00:00
|
|
|
border-color-default.css \
|
|
|
|
border-color-default.ref.ui \
|
|
|
|
border-color-default.ui \
|
2012-10-27 01:17:43 +00:00
|
|
|
border-half-pixel.css \
|
|
|
|
border-half-pixel.ref.ui \
|
|
|
|
border-half-pixel.ui \
|
2011-06-09 02:48:40 +00:00
|
|
|
border-image-ball-green.png \
|
|
|
|
border-image-ball-red.png \
|
|
|
|
border-image-ball-yellow.png \
|
|
|
|
border-image-balls.png \
|
|
|
|
border-image-3-balls-green.png \
|
2013-11-19 01:27:47 +00:00
|
|
|
border-image-3-balls-green-squished.png \
|
2011-06-09 02:48:40 +00:00
|
|
|
border-image-3-balls-yellow.png \
|
2013-11-19 01:27:47 +00:00
|
|
|
border-image-3-balls-yellow-squished.png \
|
2011-06-09 03:41:53 +00:00
|
|
|
border-image-excess-size.css \
|
|
|
|
border-image-excess-size.ref.ui \
|
|
|
|
border-image-excess-size.ui \
|
2011-05-26 22:12:00 +00:00
|
|
|
border-image-gradient.css \
|
|
|
|
border-image-gradient.ref.ui \
|
|
|
|
border-image-gradient.ui \
|
2012-01-18 16:12:51 +00:00
|
|
|
border-image-repeat.css \
|
|
|
|
border-image-repeat.ref.ui \
|
|
|
|
border-image-repeat.ui \
|
2013-11-01 20:51:31 +00:00
|
|
|
border-image-url-scaled.css \
|
|
|
|
border-image-url-scaled.ref.ui \
|
|
|
|
border-image-url-scaled.ui \
|
2011-05-26 22:12:00 +00:00
|
|
|
border-image-url.css \
|
|
|
|
border-image-url.ref.ui \
|
|
|
|
border-image-url.ui \
|
2013-11-01 20:51:31 +00:00
|
|
|
border-radius-clamp.css \
|
2011-07-20 21:41:21 +00:00
|
|
|
border-radius-clamp.ref.ui \
|
|
|
|
border-radius-clamp.ui \
|
2013-11-01 20:51:31 +00:00
|
|
|
border-rgb.png \
|
|
|
|
border-rgb@2.png \
|
2011-11-24 17:25:08 +00:00
|
|
|
border-style-none.css \
|
|
|
|
border-style-none.ref.ui \
|
|
|
|
border-style-none.ui \
|
2013-11-01 20:51:31 +00:00
|
|
|
border-style.css \
|
|
|
|
border-style.ref.ui \
|
|
|
|
border-style.ui \
|
2013-06-30 01:39:09 +00:00
|
|
|
box-child-expand.ref.ui \
|
|
|
|
box-child-expand.ui \
|
2011-05-05 03:16:09 +00:00
|
|
|
box-packing.css \
|
|
|
|
box-packing.ref.ui \
|
|
|
|
box-packing.ui \
|
2011-05-25 21:52:48 +00:00
|
|
|
box-pseudo-classes.css \
|
|
|
|
box-pseudo-classes.ref.ui \
|
|
|
|
box-pseudo-classes.ui \
|
2011-06-11 06:42:05 +00:00
|
|
|
box-shadow-spec-inset.css \
|
|
|
|
box-shadow-spec-inset.ref.ui \
|
|
|
|
box-shadow-spec-inset.ui \
|
2013-04-27 21:13:03 +00:00
|
|
|
button-wrapping.ui \
|
|
|
|
button-wrapping.ref.ui \
|
2013-09-05 16:47:29 +00:00
|
|
|
cellrenderer-pixbuf-stock-rtl.css \
|
|
|
|
cellrenderer-pixbuf-stock-rtl.ui \
|
|
|
|
cellrenderer-pixbuf-stock-rtl.ref.ui \
|
2013-09-06 01:04:44 +00:00
|
|
|
css-currentcolor-alpha.css \
|
|
|
|
css-currentcolor-alpha.ui \
|
|
|
|
css-currentcolor-alpha.ref.ui \
|
2011-05-14 23:28:17 +00:00
|
|
|
css-match-class.css \
|
|
|
|
css-match-class.ref.ui \
|
|
|
|
css-match-class.ui \
|
2011-05-15 11:24:10 +00:00
|
|
|
css-match-descendant-later.css \
|
|
|
|
css-match-descendant-later.ref.ui \
|
|
|
|
css-match-descendant-later.ui \
|
2011-05-15 11:27:19 +00:00
|
|
|
css-match-exact.css \
|
|
|
|
css-match-exact.ref.ui \
|
|
|
|
css-match-exact.ui \
|
2012-03-13 20:20:32 +00:00
|
|
|
css-match-import.css \
|
|
|
|
css-match-import-import.css \
|
|
|
|
css-match-import.ui \
|
|
|
|
css-match-import.ref.ui \
|
2011-05-18 16:43:10 +00:00
|
|
|
css-match-inherit.css \
|
|
|
|
css-match-inherit.ref.ui \
|
|
|
|
css-match-inherit.ui \
|
2011-12-29 21:03:02 +00:00
|
|
|
css-match-inherit-different-state.css \
|
|
|
|
css-match-inherit-different-state.ref.ui \
|
|
|
|
css-match-inherit-different-state.ui \
|
2011-05-14 22:34:43 +00:00
|
|
|
css-match-name.css \
|
|
|
|
css-match-name.ref.ui \
|
|
|
|
css-match-name.ui \
|
2012-03-07 02:30:12 +00:00
|
|
|
css-match-region-matches-star.css \
|
2012-03-07 02:18:26 +00:00
|
|
|
css-match-region-matches-star.ui \
|
|
|
|
css-match-region-matches-star.ref.ui \
|
2012-03-07 02:30:12 +00:00
|
|
|
css-match-regions.css \
|
2012-03-07 02:13:25 +00:00
|
|
|
css-match-regions.ref.ui \
|
|
|
|
css-match-regions.ui \
|
2012-03-02 01:16:30 +00:00
|
|
|
css-match-siblings.css \
|
|
|
|
css-match-siblings.ref.ui \
|
|
|
|
css-match-siblings.ui \
|
2011-05-16 21:52:19 +00:00
|
|
|
css-match-style-property-order.css \
|
|
|
|
css-match-style-property-order.ref.ui \
|
|
|
|
css-match-style-property-order.ui \
|
2011-05-14 11:36:00 +00:00
|
|
|
css-match-subtype.css \
|
|
|
|
css-match-subtype.ref.ui \
|
|
|
|
css-match-subtype.ui \
|
2011-05-14 11:35:19 +00:00
|
|
|
css-match-type.css \
|
|
|
|
css-match-type.ref.ui \
|
|
|
|
css-match-type.ui \
|
2011-12-28 22:16:51 +00:00
|
|
|
css-multi-state.css \
|
|
|
|
css-multi-state.ref.ui \
|
|
|
|
css-multi-state.ui \
|
2012-02-21 11:14:13 +00:00
|
|
|
entry-progress-coloring.css \
|
|
|
|
entry-progress-coloring.ref.ui \
|
|
|
|
entry-progress-coloring.ui \
|
2012-12-04 19:01:45 +00:00
|
|
|
font-sizes-names.css \
|
|
|
|
font-sizes-names.ref.ui \
|
|
|
|
font-sizes-names.ui \
|
2013-09-06 22:21:20 +00:00
|
|
|
gtk-image-effect-inherit.css \
|
|
|
|
gtk-image-effect-inherit.ref.ui \
|
|
|
|
gtk-image-effect-inherit.ui \
|
2011-05-14 11:35:19 +00:00
|
|
|
green-20x20.png \
|
2011-12-29 09:02:54 +00:00
|
|
|
grid-empty-with-spacing.ref.ui \
|
|
|
|
grid-empty-with-spacing.ui \
|
2011-05-04 18:12:44 +00:00
|
|
|
grid-expand.css \
|
|
|
|
grid-expand.ref.ui \
|
|
|
|
grid-expand.ui \
|
2011-06-07 15:05:50 +00:00
|
|
|
grid-wfh.ui \
|
|
|
|
grid-wfh.ref.ui \
|
2011-04-20 15:07:49 +00:00
|
|
|
grid-homogeneous.css \
|
|
|
|
grid-homogeneous.ref.ui \
|
|
|
|
grid-homogeneous.ui \
|
2011-05-22 02:48:02 +00:00
|
|
|
grid-spacing1.ref.ui \
|
|
|
|
grid-spacing1.ui \
|
|
|
|
grid-spacing2.ref.ui \
|
|
|
|
grid-spacing2.ui \
|
|
|
|
grid-spacing3.css \
|
|
|
|
grid-spacing3.ref.ui \
|
|
|
|
grid-spacing3.ui \
|
2012-06-15 00:48:24 +00:00
|
|
|
iconview-empty.css \
|
|
|
|
iconview-empty.ui \
|
|
|
|
iconview-empty.ref.ui \
|
2013-02-19 13:15:32 +00:00
|
|
|
image-load-from-file.css \
|
|
|
|
image-load-from-file.ref.ui \
|
|
|
|
image-load-from-file.ui \
|
2012-02-21 22:42:39 +00:00
|
|
|
info-bar-message-types.css \
|
|
|
|
info-bar-message-types.ref.ui \
|
|
|
|
info-bar-message-types.ui \
|
2011-12-29 21:05:10 +00:00
|
|
|
inherit-and-initial.css \
|
|
|
|
inherit-and-initial.ref.ui \
|
|
|
|
inherit-and-initial.ui \
|
2012-01-06 04:15:18 +00:00
|
|
|
label-attribute-preference.css \
|
|
|
|
label-attribute-preference.ref.ui \
|
|
|
|
label-attribute-preference.ui \
|
2012-11-08 22:16:55 +00:00
|
|
|
label-ellipsize-small.ref.ui \
|
|
|
|
label-ellipsize-small.ui \
|
2012-11-05 18:34:00 +00:00
|
|
|
label-ellipsize-with-big.ref.ui \
|
|
|
|
label-ellipsize-with-big.ui \
|
2011-05-22 02:27:38 +00:00
|
|
|
label-shadows.css \
|
|
|
|
label-shadows.ref.ui \
|
|
|
|
label-shadows.ui \
|
2012-03-05 22:47:11 +00:00
|
|
|
label-sizing.css \
|
|
|
|
label-sizing.ref.ui \
|
|
|
|
label-sizing.ui \
|
2011-04-22 02:56:03 +00:00
|
|
|
label-small-ellipsized.ref.ui \
|
|
|
|
label-small-ellipsized.ui \
|
2013-01-20 19:23:05 +00:00
|
|
|
label-width-chars-dont-shrink.ref.ui \
|
|
|
|
label-width-chars-dont-shrink.ui \
|
2011-05-05 15:32:22 +00:00
|
|
|
label-wrap-justify.ref.ui \
|
|
|
|
label-wrap-justify.ui \
|
2012-10-16 17:02:55 +00:00
|
|
|
linear-gradient.css \
|
|
|
|
linear-gradient.ref.ui \
|
|
|
|
linear-gradient.ui \
|
2013-05-28 13:19:41 +00:00
|
|
|
linear-gradient-transition-to-other.css \
|
|
|
|
linear-gradient-transition-to-other.ref.ui \
|
|
|
|
linear-gradient-transition-to-other.ui \
|
2013-11-04 15:34:16 +00:00
|
|
|
link-coloring.css \
|
|
|
|
link-coloring.ref.ui \
|
|
|
|
link-coloring.ui \
|
2013-03-12 20:58:47 +00:00
|
|
|
marble.xpm \
|
2011-07-19 09:57:27 +00:00
|
|
|
messagedialog-secondarytext.ui \
|
|
|
|
messagedialog-secondarytext.ref.ui \
|
2012-03-05 22:49:23 +00:00
|
|
|
misc-alignment.css \
|
|
|
|
misc-alignment.ref.ui \
|
|
|
|
misc-alignment.ui \
|
2012-11-09 19:23:56 +00:00
|
|
|
named-colors.css \
|
|
|
|
named-colors.ref.ui \
|
|
|
|
named-colors.ui \
|
2011-05-27 22:16:31 +00:00
|
|
|
no-colors.css \
|
|
|
|
no-colors.ref.ui \
|
|
|
|
no-colors.ui \
|
2011-05-03 09:18:04 +00:00
|
|
|
nonresizable-size.ref.ui \
|
|
|
|
nonresizable-size.ui \
|
2012-11-30 13:57:02 +00:00
|
|
|
notebook-childproperties.css \
|
2011-08-27 00:36:21 +00:00
|
|
|
notebook-childproperties.ui \
|
|
|
|
notebook-childproperties.ref.ui \
|
2012-03-18 01:53:44 +00:00
|
|
|
nth-child.css \
|
|
|
|
nth-child.ref.ui \
|
|
|
|
nth-child.ui \
|
2013-02-07 10:10:37 +00:00
|
|
|
opacity.css \
|
|
|
|
opacity.ui \
|
|
|
|
opacity.ref.ui \
|
2011-05-09 23:25:26 +00:00
|
|
|
paned-undersized.css \
|
|
|
|
paned-undersized.ref.ui \
|
|
|
|
paned-undersized.ui \
|
2012-03-05 22:42:33 +00:00
|
|
|
quit-mnemonic.css \
|
|
|
|
quit-mnemonic.ref.ui \
|
|
|
|
quit-mnemonic.ui \
|
2012-01-06 22:27:46 +00:00
|
|
|
reset-to-defaults.css \
|
2011-05-12 21:38:41 +00:00
|
|
|
rotated-layout.ref.ui \
|
|
|
|
rotated-layout.ui \
|
2013-04-05 19:39:41 +00:00
|
|
|
separator-size.ref.ui \
|
|
|
|
separator-size.ui \
|
2011-05-22 02:46:42 +00:00
|
|
|
shorthand-entry-border.css \
|
|
|
|
shorthand-entry-border.ref.ui \
|
|
|
|
shorthand-entry-border.ui \
|
2011-05-05 03:16:38 +00:00
|
|
|
simple.ref.ui \
|
2011-05-08 23:09:01 +00:00
|
|
|
simple.ui \
|
2012-11-03 18:01:11 +00:00
|
|
|
sizegroups-basics.css \
|
|
|
|
sizegroups-basics.ui \
|
|
|
|
sizegroups-basics.ref.ui \
|
2012-11-04 13:28:04 +00:00
|
|
|
sizegroups-evolution-identity-page.ui \
|
|
|
|
sizegroups-evolution-identity-page.ref.ui \
|
2012-11-04 16:57:49 +00:00
|
|
|
sizegroups-get-preferred-null.ui \
|
|
|
|
sizegroups-get-preferred-null.ref.ui \
|
2011-07-01 23:57:27 +00:00
|
|
|
style-properties-nth-child.css \
|
|
|
|
style-properties-nth-child.ref.ui \
|
|
|
|
style-properties-nth-child.ui \
|
2011-10-04 15:46:25 +00:00
|
|
|
style-properties-only-child.css \
|
|
|
|
style-properties-only-child.ref.ui \
|
|
|
|
style-properties-only-child.ui \
|
2013-10-05 11:57:29 +00:00
|
|
|
symbolic-icon-translucent-color.css \
|
|
|
|
symbolic-icon-translucent-color.ref.ui \
|
|
|
|
symbolic-icon-translucent-color.ui \
|
2011-05-08 23:09:01 +00:00
|
|
|
toplevel-vs-popup.ref.ui \
|
2011-06-11 08:41:17 +00:00
|
|
|
toplevel-vs-popup.ui \
|
2013-11-01 20:51:31 +00:00
|
|
|
treeview-fixed-height.css \
|
|
|
|
treeview-fixed-height.ref.ui \
|
|
|
|
treeview-fixed-height.ui \
|
2013-01-16 23:45:14 +00:00
|
|
|
treeview-headers-hidden.ref.ui \
|
|
|
|
treeview-headers-hidden.ui \
|
2011-06-11 08:41:17 +00:00
|
|
|
unresolvable.css \
|
|
|
|
unresolvable.ref.ui \
|
2012-11-11 19:26:05 +00:00
|
|
|
unresolvable.ui \
|
2013-11-01 20:51:31 +00:00
|
|
|
window-border-width.ref.ui \
|
|
|
|
window-border-width.ui \
|
2013-04-06 08:46:00 +00:00
|
|
|
window-default-size.ref.ui \
|
2013-05-07 12:48:36 +00:00
|
|
|
window-default-size.ui \
|
|
|
|
$(NULL)
|
2013-01-24 22:35:30 +00:00
|
|
|
|
2013-05-28 22:08:42 +00:00
|
|
|
EXTRA_DIST += \
|
2013-05-30 18:19:49 +00:00
|
|
|
$(testdata) \
|
2013-05-28 22:08:42 +00:00
|
|
|
reftests.test.in \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-05-09 16:38:08 +00:00
|
|
|
if BUILDOPT_INSTALL_TESTS
|
|
|
|
insttestdir=$(pkglibexecdir)/installed-tests
|
|
|
|
insttest_PROGRAMS = gtk-reftest
|
|
|
|
|
|
|
|
reftestdir = $(insttestdir)/reftests
|
|
|
|
reftest_DATA = $(testdata)
|
|
|
|
|
|
|
|
substitutions = \
|
|
|
|
-e s,@pkglibexecdir\@,$(pkglibexecdir),g \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
reftests.test: reftests.test.in Makefile
|
|
|
|
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
|
|
|
|
2013-07-11 16:57:06 +00:00
|
|
|
DISTCLEANFILES = reftests.test
|
|
|
|
|
2013-05-09 16:38:08 +00:00
|
|
|
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
|
|
|
testmeta_DATA = reftests.test
|
|
|
|
endif
|
2013-07-11 16:57:06 +00:00
|
|
|
|
2013-01-24 22:35:30 +00:00
|
|
|
-include $(top_srcdir)/git.mk
|