mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
Install gdk tests
This commit is contained in:
parent
c4f0ff9d77
commit
3a414e0ace
@ -39,4 +39,30 @@ CLEANFILES = \
|
|||||||
cairosurface.png \
|
cairosurface.png \
|
||||||
gdksurface.png
|
gdksurface.png
|
||||||
|
|
||||||
|
if BUILDOPT_INSTALL_TESTS
|
||||||
|
insttestdir=$(pkglibexecdir)/installed-tests
|
||||||
|
insttest_PROGRAMS = $(TEST_PROGS)
|
||||||
|
|
||||||
|
substitutions = \
|
||||||
|
-e s,@pkglibexecdir\@,$(pkglibexecdir),g \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
test_in_files = \
|
||||||
|
rgba.test.in \
|
||||||
|
encoding.test.in \
|
||||||
|
display.test.in \
|
||||||
|
keysyms.test.in \
|
||||||
|
$(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)
|
||||||
|
|
||||||
|
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||||
|
testmeta_DATA = $(test_files)
|
||||||
|
endif
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
3
gdk/tests/display.test.in
Normal file
3
gdk/tests/display.test.in
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[Test]
|
||||||
|
Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/display"
|
||||||
|
Type=session
|
3
gdk/tests/encoding.test.in
Normal file
3
gdk/tests/encoding.test.in
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[Test]
|
||||||
|
Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/encoding"
|
||||||
|
Type=session
|
3
gdk/tests/keysyms.test.in
Normal file
3
gdk/tests/keysyms.test.in
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[Test]
|
||||||
|
Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/keysyms"
|
||||||
|
Type=session
|
3
gdk/tests/rgba.test.in
Normal file
3
gdk/tests/rgba.test.in
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[Test]
|
||||||
|
Exec=/bin/sh -c "@pkglibexecdir@/installed-tests/rgba"
|
||||||
|
Type=session
|
Loading…
Reference in New Issue
Block a user