[gjs] installed-tests: Update to latest spec
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] installed-tests: Update to latest spec
- Date: Sat, 27 Apr 2013 23:02:57 +0000 (UTC)
commit 5e595141cf4ba0cd1ae0f93b1b86d15945586e73
Author: Colin Walters <walters verbum org>
Date: Sat Apr 27 19:02:34 2013 -0400
installed-tests: Update to latest spec
Install in a subdirectory.
installed-tests/Makefile-test.am | 17 +++++++++--------
installed-tests/all.test.in | 2 ++
installed-tests/gjs-installed-tests.testmeta.in | 2 --
3 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/installed-tests/Makefile-test.am b/installed-tests/Makefile-test.am
index 7d39f59..b74a462 100644
--- a/installed-tests/Makefile-test.am
+++ b/installed-tests/Makefile-test.am
@@ -1,16 +1,17 @@
-installedtestmetadir = $(datadir)/installed-tests
-installedtestmeta_DATA = gjs-installed-tests.testmeta
+installedtestmetadir = $(datadir)/installed-tests/gjs
+installedtestmeta_DATA = all.test
-gjs-installed-tests.testmeta: gjs-installed-tests.testmeta.in Makefile
+all.test: all.test.in Makefile
sed -e s,@pkglibexecdir\@,$(pkglibexecdir), < $< > $ tmp && mv $ tmp $@
-pkglibexec_PROGRAMS += gjs-installed-tests
+gjsalltestsdir = $(pkglibexecdir)/tests
+gjsalltests_PROGRAMS = all
-gjs_installed_tests_CFLAGS = $(AM_CFLAGS) $(GJS_CFLAGS)
-gjs_installed_tests_LDADD = $(GJS_LIBS)
-gjs_installed_tests_LDFLAGS = -rpath $(pkglibdir)
-gjs_installed_tests_SOURCES = test/gjs-unit.c
+all_CFLAGS = $(AM_CFLAGS) $(GJS_CFLAGS)
+all_LDADD = $(GJS_LIBS)
+all_LDFLAGS = -rpath $(pkglibdir)
+all_SOURCES = test/gjs-unit.c
privlib_LTLIBRARIES += libregress.la libwarnlib.la libgimarshallingtests.la
diff --git a/installed-tests/all.test.in b/installed-tests/all.test.in
new file mode 100644
index 0000000..5a0931a
--- /dev/null
+++ b/installed-tests/all.test.in
@@ -0,0 +1,2 @@
+[Test]
+Exec= pkglibexecdir@/tests/all
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]