~jbicha/ubuntu/oneiric/gjs/1.29.18

« back to all changes in this revision

Viewing changes to Makefile-test.am

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2011-02-06 13:01:02 UTC
  • mfrom: (1.3.10 experimental)
  • Revision ID: james.westby@ubuntu.com-20110206130102-69xpqq0gql9fob01
Tags: 0.7.10-1
* New upstream release.
* debian/control.in:
  - Drop build-depend on libmozjs-dev
  - Make libgjs-dev depend on xulrunner-dev and libdbus-1-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
install-testlibLTLIBRARIES: # prevent it from being installed
70
70
 
71
71
nodist_libregress_la_SOURCES = $(GI_DATADIR)/tests/regress.c $(GI_DATADIR)/tests/regress.h
72
 
libregress_la_CFLAGS = $(GIO_CFLAGS) $(GJS_CFLAGS) $(GJS_CAIRO_CFLAGS)
73
 
libregress_la_LDFLAGS = -avoid-version $(GIO_LIBS) $(GJS_LIBS) $(GJS_CAIRO_LIBS)
 
72
libregress_la_CFLAGS = $(GJS_CFLAGS) $(GJS_CAIRO_CFLAGS)
 
73
libregress_la_LDFLAGS = -avoid-version $(GJS_LIBS) $(GJS_CAIRO_LIBS)
74
74
nodist_libgimarshallingtests_la_SOURCES = $(GI_DATADIR)/tests/gimarshallingtests.c $(GI_DATADIR)/tests/gimarshallingtests.h
75
75
libgimarshallingtests_la_CFLAGS = $(GJS_CFLAGS)
76
76
libgimarshallingtests_la_LDFLAGS = -avoid-version $(GJS_LIBS)
77
77
 
78
78
# g-i doesn't ship these as shared libraries anymore; we build them here
79
79
Regress-1.0.gir: libregress.la Makefile
80
 
        $(AM_V_GEN) g-ir-scanner --include=cairo-1.0 --include=Gio-2.0 \
 
80
        $(AM_V_GEN) LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(FIREFOX_JS_LIBDIR)" g-ir-scanner --include=cairo-1.0 --include=Gio-2.0 \
81
81
        --namespace=Regress --nsversion=1.0 \
82
82
        --warn-all --warn-error \
83
83
        --library=libregress.la \
90
90
CLEANFILES += Regress-1.0.gir Regress-1.0.typelib
91
91
 
92
92
GIMarshallingTests-1.0.gir: libgimarshallingtests.la Makefile
93
 
        $(AM_V_GEN) g-ir-scanner --include=Gio-2.0 \
 
93
        $(AM_V_GEN) LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(FIREFOX_JS_LIBDIR)" g-ir-scanner --include=Gio-2.0 \
94
94
        --namespace=GIMarshallingTests --nsversion=1.0 --symbol-prefix=gi_marshalling_tests \
95
95
        --warn-all --warn-error \
96
96
        --library=libgimarshallingtests.la \
124
124
 
125
125
gdb-check gdb-test: $(tests_dependencies)
126
126
        failed=; for prog in ${TEST_PROGS}; do \
127
 
          ${TESTS_ENVIRONMENT} GJS_TEST_TIMEOUT=0 libtool --mode=execute gdb -x \
 
127
          ${TESTS_ENVIRONMENT} GJS_TEST_TIMEOUT=0 $(RUN_WITH_DBUS) libtool --mode=execute gdb -x \
128
128
              $(top_srcdir)/test/unittest.gdb --args $$prog; \
129
129
          done
130
130
 
132
132
        @test -z "${TEST_PROGS}" || { \
133
133
          failed=; for prog in ${TEST_PROGS}; do \
134
134
            ${TESTS_ENVIRONMENT} G_SLICE=always-malloc  \
 
135
            $(RUN_WITH_DBUS) \
135
136
            $(LIBTOOL) --mode=execute valgrind          \
136
137
            --log-file=valgrind.$$prog.log              \
137
138
            --error-exitcode=1                          \
179
180
        test/js/testGI.js                       \
180
181
        test/js/testGIMarshalling.js            \
181
182
        test/js/testImporter.js                 \
 
183
        test/js/testJS1_8.js                    \
 
184
        test/js/testJSDefault.js                \
182
185
        test/js/testLang.js                     \
183
186
        test/js/testLocale.js                   \
184
187
        test/js/testMainloop.js                 \