mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
build: Namespace installed tests of private libraries
Currently our private cogl/clutter forks still install tests as cogl/clutter, which conflicts with the original libraries.
This commit is contained in:
parent
b6092cf4db
commit
28c9b6e1d7
@ -1,3 +1,5 @@
|
||||
installed_test_metadir = $(datadir)/installed-tests/mutter-clutter
|
||||
installed_testdir = $(libexecdir)/installed-tests/mutter-clutter
|
||||
include $(top_srcdir)/build/autotools/glib-tap.mk
|
||||
|
||||
AM_CFLAGS = -g $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
||||
|
@ -25,7 +25,7 @@ endif
|
||||
check-local: test
|
||||
|
||||
if ENABLE_INSTALLED_TESTS
|
||||
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
|
||||
insttestdir = $(libexecdir)/installed-tests/mutter-cogl
|
||||
insttest_SCRIPTS = run-tests.sh
|
||||
insttest_DATA = config.env
|
||||
endif
|
||||
|
@ -158,18 +158,18 @@ clean-generic: clean-wrappers
|
||||
|
||||
if ENABLE_INSTALLED_TESTS
|
||||
|
||||
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)/conform
|
||||
insttestdir = $(libexecdir)/installed-tests/mutter-cogl/conform
|
||||
insttest_PROGRAMS = test-conformance
|
||||
insttest_DATA = unit-tests
|
||||
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmetadir = $(datadir)/installed-tests/mutter-cogl
|
||||
testmeta_DATA = conform.test
|
||||
|
||||
conform.test:
|
||||
echo " GEN $@"; \
|
||||
echo "[Test]" > $@.tmp; \
|
||||
echo "Type=session" >> $@.tmp; \
|
||||
echo "Exec=sh -c \"cd $(libexecdir)/installed-tests/$(PACKAGE)/conform; ../run-tests.sh ../config.env ./test-conformance\"" >> $@.tmp; \
|
||||
echo "Exec=sh -c \"cd $(libexecdir)/installed-tests/mutter-cogl/conform; ../run-tests.sh ../config.env ./test-conformance\"" >> $@.tmp; \
|
||||
mv $@.tmp $@
|
||||
|
||||
CLEANFILES = conform.test
|
||||
|
Loading…
Reference in New Issue
Block a user