2011-04-07 00:15:42 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
2013-05-21 10:50:13 +00:00
|
|
|
NULL =
|
|
|
|
|
|
|
|
CLEANFILES =
|
|
|
|
|
2011-04-07 00:15:42 +00:00
|
|
|
TEST_PROGS += test-css-parser
|
2013-05-21 10:50:13 +00:00
|
|
|
test_in_files = test-css-parser.test.in
|
2011-04-07 00:15:42 +00:00
|
|
|
|
|
|
|
check_PROGRAMS = $(TEST_PROGS)
|
|
|
|
|
|
|
|
test_css_parser_CFLAGS = \
|
2011-04-07 00:24:51 +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-04-07 00:15:42 +00:00
|
|
|
|
|
|
|
test_css_parser_LDADD = \
|
2011-04-07 00:24:51 +00:00
|
|
|
$(top_builddir)/gdk/libgdk-3.la \
|
|
|
|
$(top_builddir)/gtk/libgtk-3.la \
|
|
|
|
$(GTK_DEP_LIBS)
|
2011-04-07 00:15:42 +00:00
|
|
|
|
|
|
|
test_css_parser_SOURCES = \
|
2011-04-07 00:24:51 +00:00
|
|
|
test-css-parser.c
|
2011-04-07 00:15:42 +00:00
|
|
|
|
2011-04-07 00:24:51 +00:00
|
|
|
clean-local:
|
|
|
|
rm $(builddir)/*.out.css || true
|
|
|
|
|
2013-05-21 10:50:13 +00:00
|
|
|
test_data = \
|
2011-07-20 00:26:50 +00:00
|
|
|
at-invalid-01.css \
|
|
|
|
at-invalid-01.errors \
|
|
|
|
at-invalid-01.ref.css \
|
|
|
|
at-invalid-02.css \
|
|
|
|
at-invalid-02.errors \
|
|
|
|
at-invalid-02.ref.css \
|
|
|
|
at-invalid-03.css \
|
|
|
|
at-invalid-03.errors \
|
|
|
|
at-invalid-03.ref.css \
|
|
|
|
at-invalid-04.css \
|
|
|
|
at-invalid-04.errors \
|
|
|
|
at-invalid-04.ref.css \
|
|
|
|
at-invalid-05.css \
|
|
|
|
at-invalid-05.errors \
|
|
|
|
at-invalid-05.ref.css \
|
|
|
|
at-invalid-06.css \
|
|
|
|
at-invalid-06.errors \
|
|
|
|
at-invalid-06.ref.css \
|
|
|
|
at-invalid-07.css \
|
|
|
|
at-invalid-07.errors \
|
|
|
|
at-invalid-07.ref.css \
|
|
|
|
at-invalid-08.css \
|
|
|
|
at-invalid-08.errors \
|
|
|
|
at-invalid-08.ref.css \
|
|
|
|
at-invalid-09.css \
|
|
|
|
at-invalid-09.errors \
|
|
|
|
at-invalid-09.ref.css \
|
|
|
|
at-invalid-10.css \
|
|
|
|
at-invalid-10.errors \
|
|
|
|
at-invalid-10.ref.css \
|
|
|
|
at-invalid-11.css \
|
|
|
|
at-invalid-11.errors \
|
|
|
|
at-invalid-11.ref.css \
|
|
|
|
at-invalid-12.css \
|
|
|
|
at-invalid-12.errors \
|
|
|
|
at-invalid-12.ref.css \
|
|
|
|
at-invalid-13.css \
|
|
|
|
at-invalid-13.errors \
|
|
|
|
at-invalid-13.ref.css \
|
|
|
|
at-invalid-14.css \
|
|
|
|
at-invalid-14.errors \
|
|
|
|
at-invalid-14.ref.css \
|
|
|
|
at-invalid-15.css \
|
|
|
|
at-invalid-15.errors \
|
|
|
|
at-invalid-15.ref.css \
|
|
|
|
at-invalid-16.css \
|
|
|
|
at-invalid-16.errors \
|
|
|
|
at-invalid-16.ref.css \
|
|
|
|
at-invalid-17.css \
|
|
|
|
at-invalid-17.errors \
|
|
|
|
at-invalid-17.ref.css \
|
|
|
|
at-invalid-18.css \
|
|
|
|
at-invalid-18.errors \
|
|
|
|
at-invalid-18.ref.css \
|
|
|
|
at-invalid-19.css \
|
|
|
|
at-invalid-19.errors \
|
|
|
|
at-invalid-19.ref.css \
|
|
|
|
at-invalid-20.css \
|
|
|
|
at-invalid-20.errors \
|
|
|
|
at-invalid-20.ref.css \
|
|
|
|
at-invalid-21.css \
|
|
|
|
at-invalid-21.errors \
|
|
|
|
at-invalid-21.ref.css \
|
|
|
|
at-invalid-22.css \
|
|
|
|
at-invalid-22.errors \
|
|
|
|
at-invalid-22.ref.css \
|
|
|
|
at-invalid-23.css \
|
|
|
|
at-invalid-23.errors \
|
|
|
|
at-invalid-23.ref.css \
|
|
|
|
at-invalid-24.css \
|
|
|
|
at-invalid-24.errors \
|
|
|
|
at-invalid-24.ref.css \
|
|
|
|
at-invalid-25.css \
|
|
|
|
at-invalid-25.errors \
|
|
|
|
at-invalid-25.ref.css \
|
|
|
|
at-invalid-26.css \
|
|
|
|
at-invalid-26.errors \
|
|
|
|
at-invalid-26.ref.css \
|
|
|
|
at-invalid-27.css \
|
|
|
|
at-invalid-27.errors \
|
|
|
|
at-invalid-27.ref.css \
|
|
|
|
at-valid-01.css \
|
|
|
|
at-valid-01.ref.css \
|
|
|
|
at-valid-02.css \
|
|
|
|
at-valid-02.ref.css \
|
|
|
|
at-valid-03.css \
|
|
|
|
at-valid-03.ref.css \
|
|
|
|
at-valid-04.css \
|
|
|
|
at-valid-04.ref.css \
|
|
|
|
at-valid-05.css \
|
|
|
|
at-valid-05.ref.css \
|
|
|
|
at-valid-06.css \
|
|
|
|
at-valid-06.ref.css \
|
|
|
|
at-valid-07.css \
|
|
|
|
at-valid-08.css \
|
|
|
|
at-valid-08.ref.css \
|
|
|
|
at-valid-09.css \
|
|
|
|
at-valid-09.ref.css \
|
|
|
|
at-valid-10.css \
|
|
|
|
at-valid-10.ref.css \
|
|
|
|
at-valid-11.css \
|
|
|
|
at-valid-11.ref.css \
|
|
|
|
at-valid-12.css \
|
|
|
|
at-valid-12.ref.css \
|
|
|
|
at-valid-13.css \
|
|
|
|
at-valid-13.ref.css \
|
|
|
|
at-valid-14.css \
|
|
|
|
at-valid-14.ref.css \
|
|
|
|
at-valid-15.css \
|
|
|
|
at-valid-15.ref.css \
|
|
|
|
at-valid-16.css \
|
|
|
|
at-valid-16.ref.css \
|
|
|
|
at-valid-17.css \
|
|
|
|
at-valid-18.css \
|
|
|
|
at-valid-18.ref.css \
|
|
|
|
at-valid-19.css \
|
|
|
|
at-valid-19.errors \
|
|
|
|
at-valid-19.ref.css \
|
|
|
|
at-valid-20.css \
|
|
|
|
at-valid-20.errors \
|
|
|
|
at-valid-20.ref.css \
|
|
|
|
at-valid-21.css \
|
|
|
|
at-valid-21.errors \
|
|
|
|
at-valid-21.ref.css \
|
2012-03-17 04:09:35 +00:00
|
|
|
background-position.css \
|
|
|
|
background-position.errors \
|
|
|
|
background-position.ref.css \
|
2012-10-12 15:45:11 +00:00
|
|
|
background-position-errors.css \
|
|
|
|
background-position-errors.errors \
|
|
|
|
background-position-errors.ref.css \
|
2012-01-05 01:49:43 +00:00
|
|
|
background-repeat.css \
|
|
|
|
background-repeat.ref.css \
|
2012-05-12 00:43:09 +00:00
|
|
|
background-shorthand.css \
|
|
|
|
background-shorthand.ref.css \
|
2012-05-15 16:45:39 +00:00
|
|
|
background-shorthand-single.css \
|
|
|
|
background-shorthand-single.ref.css \
|
2012-01-17 14:15:34 +00:00
|
|
|
background-size.css \
|
|
|
|
background-size.ref.css \
|
2011-04-09 11:48:45 +00:00
|
|
|
boolean.css \
|
|
|
|
boolean.errors \
|
|
|
|
boolean.ref.css \
|
2011-04-09 23:53:31 +00:00
|
|
|
border.css \
|
|
|
|
border.errors \
|
|
|
|
border.ref.css \
|
2012-01-11 22:37:21 +00:00
|
|
|
border-color-currentcolor.css \
|
|
|
|
border-color-currentcolor.ref.css \
|
2011-05-28 02:30:45 +00:00
|
|
|
border-radius.css \
|
|
|
|
border-radius.errors \
|
|
|
|
border-radius.ref.css \
|
2012-01-07 04:35:50 +00:00
|
|
|
border-shorthand.css \
|
|
|
|
border-shorthand.ref.css \
|
2011-04-07 10:20:22 +00:00
|
|
|
close-at-end-of-file.css \
|
2011-04-07 23:32:13 +00:00
|
|
|
close-at-end-of-file.errors \
|
2011-04-07 10:20:22 +00:00
|
|
|
close-at-end-of-file.ref.css \
|
2011-06-13 04:25:19 +00:00
|
|
|
colors-errors.css \
|
|
|
|
colors-errors.errors \
|
|
|
|
colors-errors.ref.css \
|
2011-04-14 19:13:48 +00:00
|
|
|
colors-red.css \
|
|
|
|
colors-red.ref.css \
|
2012-11-28 20:11:22 +00:00
|
|
|
comment-detection.css \
|
|
|
|
comment-detection.ref.css \
|
2012-09-14 00:10:53 +00:00
|
|
|
cross-fade-basic.css \
|
2011-04-14 15:44:31 +00:00
|
|
|
css-21-malformed-declarations.css \
|
|
|
|
css-21-malformed-declarations.errors \
|
|
|
|
css-21-malformed-declarations.ref.css \
|
2011-04-14 15:48:06 +00:00
|
|
|
css-21-malformed-statements.css \
|
|
|
|
css-21-malformed-statements.errors \
|
|
|
|
css-21-malformed-statements.ref.css \
|
2012-04-05 20:29:07 +00:00
|
|
|
currentcolor-everywhere.css \
|
2011-04-09 23:52:58 +00:00
|
|
|
declarations.css \
|
|
|
|
declarations.errors \
|
|
|
|
declarations.ref.css \
|
2011-07-21 00:41:42 +00:00
|
|
|
declarations-invalid-01.css \
|
|
|
|
declarations-invalid-01.errors \
|
|
|
|
declarations-invalid-01.ref.css \
|
|
|
|
declarations-invalid-02.css \
|
|
|
|
declarations-invalid-02.errors \
|
|
|
|
declarations-invalid-02.ref.css \
|
|
|
|
declarations-invalid-03.css \
|
|
|
|
declarations-invalid-03.errors \
|
|
|
|
declarations-invalid-03.ref.css \
|
|
|
|
declarations-invalid-04.css \
|
|
|
|
declarations-invalid-04.errors \
|
|
|
|
declarations-invalid-04.ref.css \
|
|
|
|
declarations-invalid-05.css \
|
|
|
|
declarations-invalid-05.errors \
|
|
|
|
declarations-invalid-05.ref.css \
|
|
|
|
declarations-invalid-06.css \
|
|
|
|
declarations-invalid-06.errors \
|
|
|
|
declarations-invalid-06.ref.css \
|
|
|
|
declarations-invalid-07.css \
|
|
|
|
declarations-invalid-07.errors \
|
|
|
|
declarations-invalid-07.ref.css \
|
|
|
|
declarations-invalid-08.css \
|
|
|
|
declarations-invalid-08.errors \
|
|
|
|
declarations-invalid-08.ref.css \
|
|
|
|
declarations-valid-01.css \
|
|
|
|
declarations-valid-01.ref.css \
|
|
|
|
declarations-valid-02.css \
|
|
|
|
declarations-valid-02.ref.css \
|
|
|
|
declarations-valid-03.css \
|
|
|
|
declarations-valid-03.ref.css \
|
|
|
|
declarations-valid-04.css \
|
|
|
|
declarations-valid-04.ref.css \
|
|
|
|
declarations-valid-05.css \
|
|
|
|
declarations-valid-05.ref.css \
|
|
|
|
declarations-valid-06.css \
|
|
|
|
declarations-valid-06.ref.css \
|
|
|
|
declarations-valid-07.css \
|
|
|
|
declarations-valid-07.ref.css \
|
|
|
|
declarations-valid-08.css \
|
|
|
|
declarations-valid-08.ref.css \
|
|
|
|
declarations-valid-09.css \
|
|
|
|
declarations-valid-09.ref.css \
|
|
|
|
declarations-valid-10.css \
|
|
|
|
declarations-valid-10.ref.css \
|
|
|
|
declarations-valid-11.css \
|
|
|
|
declarations-valid-11.ref.css \
|
|
|
|
declarations-valid-12.css \
|
|
|
|
declarations-valid-12.ref.css \
|
|
|
|
declarations-valid-13.css \
|
|
|
|
declarations-valid-13.ref.css \
|
|
|
|
declarations-valid-14.css \
|
|
|
|
declarations-valid-14.ref.css \
|
|
|
|
declarations-valid-15.css \
|
|
|
|
declarations-valid-15.ref.css \
|
|
|
|
declarations-valid-16.css \
|
|
|
|
declarations-valid-16.ref.css \
|
|
|
|
declarations-valid-17.css \
|
|
|
|
declarations-valid-17.ref.css \
|
|
|
|
declarations-valid-18.css \
|
|
|
|
declarations-valid-18.errors \
|
|
|
|
declarations-valid-18.ref.css \
|
|
|
|
declarations-valid-19.css \
|
|
|
|
declarations-valid-19.ref.css \
|
|
|
|
declarations-valid-20.css \
|
|
|
|
declarations-valid-20.ref.css \
|
|
|
|
declarations-valid-21.css \
|
|
|
|
declarations-valid-21.ref.css \
|
|
|
|
declarations-valid-22.css \
|
|
|
|
declarations-valid-22.ref.css \
|
|
|
|
declarations-valid-23.css \
|
|
|
|
declarations-valid-23.ref.css \
|
|
|
|
declarations-valid-24.css \
|
|
|
|
declarations-valid-24.ref.css \
|
|
|
|
declarations-valid-25.css \
|
|
|
|
declarations-valid-25.ref.css \
|
2011-04-07 00:24:51 +00:00
|
|
|
does-not-exist.css \
|
2011-04-07 23:32:13 +00:00
|
|
|
does-not-exist.errors \
|
2011-04-07 00:24:51 +00:00
|
|
|
does-not-exist.ref.css \
|
2012-03-01 15:39:52 +00:00
|
|
|
doubled.css \
|
|
|
|
doubled.ref.css \
|
2011-07-20 00:34:02 +00:00
|
|
|
empty.css \
|
2011-05-14 23:22:24 +00:00
|
|
|
enum.css \
|
|
|
|
enum.errors \
|
|
|
|
enum.ref.css \
|
2011-05-29 03:24:28 +00:00
|
|
|
font-family.css \
|
|
|
|
font-family.errors \
|
|
|
|
font-family.ref.css \
|
2012-04-19 15:05:22 +00:00
|
|
|
freed-string-in-error-messages.css \
|
|
|
|
freed-string-in-error-messages.errors \
|
|
|
|
freed-string-in-error-messages.ref.css \
|
2011-04-12 02:34:02 +00:00
|
|
|
import-cyclic-1.css \
|
|
|
|
import-cyclic-1.errors \
|
|
|
|
import-cyclic-1.ref.css \
|
|
|
|
import-cyclic-2.css \
|
|
|
|
import-cyclic-2.errors \
|
|
|
|
import-cyclic-2.ref.css \
|
|
|
|
import-cyclic-3.css \
|
|
|
|
import-cyclic-3.errors \
|
|
|
|
import-cyclic-3.ref.css \
|
2011-04-12 02:35:22 +00:00
|
|
|
import-nonexistant.css \
|
|
|
|
import-nonexistant.errors \
|
|
|
|
import-nonexistant.ref.css \
|
2011-04-12 02:28:30 +00:00
|
|
|
import-recursive.css \
|
|
|
|
import-recursive.errors \
|
|
|
|
import-recursive.ref.css \
|
2011-04-09 11:49:41 +00:00
|
|
|
integer.css \
|
|
|
|
integer.errors \
|
|
|
|
integer.ref.css \
|
2012-04-19 01:42:33 +00:00
|
|
|
keyframes-empty.css \
|
|
|
|
keyframes-empty.ref.css \
|
2012-04-19 01:43:17 +00:00
|
|
|
keyframes-ordering.css \
|
|
|
|
keyframes-ordering.ref.css \
|
2012-01-17 10:53:38 +00:00
|
|
|
linear-gradient.css \
|
|
|
|
linear-gradient.ref.css \
|
2011-04-07 10:14:58 +00:00
|
|
|
no-semicolon.css \
|
|
|
|
no-semicolon.ref.css \
|
2012-03-18 01:19:41 +00:00
|
|
|
nth-child.css \
|
|
|
|
nth-child.ref.css \
|
2014-06-16 20:20:08 +00:00
|
|
|
property-name-errors.css \
|
|
|
|
property-name-errors.errors \
|
|
|
|
property-name-errors.ref.css \
|
2011-05-14 22:17:04 +00:00
|
|
|
pseudo-classes-unknown.css \
|
|
|
|
pseudo-classes-unknown.errors \
|
|
|
|
pseudo-classes-unknown.ref.css \
|
2011-05-14 22:15:25 +00:00
|
|
|
selector.css \
|
|
|
|
selector.ref.css \
|
2012-04-03 11:30:21 +00:00
|
|
|
shadow.css \
|
|
|
|
shadow.ref.css \
|
2011-05-22 01:09:23 +00:00
|
|
|
shorthand.css \
|
|
|
|
shorthand.ref.css \
|
2011-05-23 05:11:31 +00:00
|
|
|
simple.css \
|
2011-05-27 22:09:20 +00:00
|
|
|
single-slash.css \
|
|
|
|
single-slash.errors\
|
|
|
|
single-slash.ref.css \
|
2014-05-01 17:49:47 +00:00
|
|
|
string-values.css \
|
2014-05-21 17:17:21 +00:00
|
|
|
string-values.ref.css \
|
2011-07-23 10:27:45 +00:00
|
|
|
test.png \
|
2014-06-09 23:06:57 +00:00
|
|
|
text-shadow-invalid-but-worked-in-3.12.css \
|
2014-06-10 22:29:00 +00:00
|
|
|
text-shadow-invalid-but-worked-in-3.12.errors \
|
2014-06-09 23:06:57 +00:00
|
|
|
text-shadow-invalid-but-worked-in-3.12.ref.css \
|
2012-04-17 06:52:10 +00:00
|
|
|
transition.css \
|
|
|
|
transition.ref.css \
|
2011-12-29 15:19:14 +00:00
|
|
|
value-inherit.css \
|
2012-01-02 14:52:21 +00:00
|
|
|
value-inherit-shorthand.css \
|
|
|
|
value-inherit-shorthand.ref.css \
|
2012-01-10 16:00:57 +00:00
|
|
|
value-initial.css \
|
|
|
|
value-initial-shorthand.css \
|
|
|
|
value-initial-shorthand.ref.css \
|
2011-12-30 12:14:57 +00:00
|
|
|
value-none.css \
|
|
|
|
value-none.errors \
|
|
|
|
value-none.ref.css \
|
2013-05-21 10:50:13 +00:00
|
|
|
widget-style-property.css \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-05-28 22:08:42 +00:00
|
|
|
EXTRA_DIST += $(test_in_files) $(test_data)
|
|
|
|
|
2013-05-21 10:50:13 +00:00
|
|
|
if BUILDOPT_INSTALL_TESTS
|
2014-05-31 04:16:07 +00:00
|
|
|
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)/css/parser
|
2013-05-21 10:50:13 +00:00
|
|
|
insttest_PROGRAMS = $(TEST_PROGS)
|
|
|
|
insttest_DATA = $(test_data)
|
|
|
|
|
|
|
|
substitutions = \
|
2014-05-31 04:16:07 +00:00
|
|
|
-e s,@libexecdir\@,$(libexecdir),g \
|
2013-05-21 10:50:13 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
test_files = $(test_in_files:.test.in=.test)
|
|
|
|
|
|
|
|
$(test_files): %.test: %.test.in
|
|
|
|
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
|
|
|
|
|
|
|
EXTRA_DIST += $(test_in_files)
|
|
|
|
|
|
|
|
CLEANFILES += $(test_files)
|
2013-01-24 22:35:30 +00:00
|
|
|
|
2013-05-21 10:50:13 +00:00
|
|
|
testmetadir = $(datadir)/installed-tests/$(PACKAGE)/css/parser
|
|
|
|
testmeta_DATA = $(test_files)
|
|
|
|
endif
|
|
|
|
|
2013-01-24 22:35:30 +00:00
|
|
|
-include $(top_srcdir)/git.mk
|