mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
build: Fix usage of %.test again
We actually need the first dependency because it includes the final executable name. Rather, fix the original bug by using the variable $(EXEEXT).
This commit is contained in:
parent
5088c705ac
commit
0b167b0ae9
@ -526,7 +526,7 @@ xfail_tests = desktop-app-info.test
|
||||
developer_only_tests = gsettings.test
|
||||
testmeta_DATA = $(filter-out $(xfail_tests) $(developer_only_tests),$(test_progs:=.test))
|
||||
|
||||
%.test: Makefile
|
||||
%.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \
|
||||
|
@ -175,7 +175,7 @@ markupsdir=$(insttestdir)/markups
|
||||
markups_DATA = $(all_markup_test_files)
|
||||
endif
|
||||
|
||||
%.test: Makefile
|
||||
%.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \
|
||||
|
@ -53,7 +53,7 @@ insttest_PROGRAMS = $(TEST_PROGS)
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(TEST_PROGS:=.test)
|
||||
|
||||
%.test: Makefile
|
||||
%.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \
|
||||
|
@ -146,7 +146,7 @@ testmeta_DATA = $(test_programs:=.test)
|
||||
|
||||
insttest_DATA = $(test_data)
|
||||
|
||||
%.test: Makefile
|
||||
%.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \
|
||||
|
@ -85,7 +85,7 @@ insttest_PROGRAMS = $(test_programs)
|
||||
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
||||
testmeta_DATA = $(test_programs:=.test)
|
||||
|
||||
%.test: Makefile
|
||||
%.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
||||
echo 'Type=session' >> $@.tmp; \
|
||||
echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \
|
||||
|
Loading…
Reference in New Issue
Block a user