From 5088c705ac5ce118502d0c6ea74aca1cec26b575 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 24 May 2013 15:42:12 -0400 Subject: [PATCH] tests: Drop unnecessary % from .test pattern match rule On Windows, the executables will have .exe, so this won't match. Furthermore, they aren't actually dependent on the executable to build. --- gio/tests/Makefile.am | 2 +- glib/tests/Makefile.am | 2 +- gobject/tests/Makefile.am | 2 +- tests/Makefile.am | 2 +- tests/gobject/Makefile.am | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am index 7697ccbe3..3a7b9e4bf 100644 --- a/gio/tests/Makefile.am +++ b/gio/tests/Makefile.am @@ -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: Makefile $(AM_V_GEN) (echo '[Test]' > $@.tmp; \ echo 'Type=session' >> $@.tmp; \ echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \ diff --git a/glib/tests/Makefile.am b/glib/tests/Makefile.am index c1a3dd949..cd4bdb464 100644 --- a/glib/tests/Makefile.am +++ b/glib/tests/Makefile.am @@ -175,7 +175,7 @@ markupsdir=$(insttestdir)/markups markups_DATA = $(all_markup_test_files) endif -%.test: % Makefile +%.test: Makefile $(AM_V_GEN) (echo '[Test]' > $@.tmp; \ echo 'Type=session' >> $@.tmp; \ echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \ diff --git a/gobject/tests/Makefile.am b/gobject/tests/Makefile.am index c8423950b..b05c23a9b 100644 --- a/gobject/tests/Makefile.am +++ b/gobject/tests/Makefile.am @@ -53,7 +53,7 @@ insttest_PROGRAMS = $(TEST_PROGS) testmetadir = $(datadir)/installed-tests/$(PACKAGE) testmeta_DATA = $(TEST_PROGS:=.test) -%.test: % Makefile +%.test: Makefile $(AM_V_GEN) (echo '[Test]' > $@.tmp; \ echo 'Type=session' >> $@.tmp; \ echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \ diff --git a/tests/Makefile.am b/tests/Makefile.am index 281c5ffd6..984447df5 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -146,7 +146,7 @@ testmeta_DATA = $(test_programs:=.test) insttest_DATA = $(test_data) -%.test: % Makefile +%.test: Makefile $(AM_V_GEN) (echo '[Test]' > $@.tmp; \ echo 'Type=session' >> $@.tmp; \ echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \ diff --git a/tests/gobject/Makefile.am b/tests/gobject/Makefile.am index a05425d4b..6fd296d50 100644 --- a/tests/gobject/Makefile.am +++ b/tests/gobject/Makefile.am @@ -85,7 +85,7 @@ insttest_PROGRAMS = $(test_programs) testmetadir = $(datadir)/installed-tests/$(PACKAGE) testmeta_DATA = $(test_programs:=.test) -%.test: % Makefile +%.test: Makefile $(AM_V_GEN) (echo '[Test]' > $@.tmp; \ echo 'Type=session' >> $@.tmp; \ echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \ -- 2.34.1