tests: Drop unnecessary % from .test pattern match rule
authorColin Walters <walters@verbum.org>
Fri, 24 May 2013 19:42:12 +0000 (15:42 -0400)
committerColin Walters <walters@verbum.org>
Fri, 24 May 2013 20:30:21 +0000 (16:30 -0400)
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
glib/tests/Makefile.am
gobject/tests/Makefile.am
tests/Makefile.am
tests/gobject/Makefile.am

index 7697ccb..3a7b9e4 100644 (file)
@@ -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; \
index c1a3dd9..cd4bdb4 100644 (file)
@@ -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; \
index c842395..b05c23a 100644 (file)
@@ -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; \
index 281c5ff..984447d 100644 (file)
@@ -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; \
index a05425d..6fd296d 100644 (file)
@@ -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; \