0907f030b4
The js modules have so many imports back and forth that it's pretty much guaranteed that if you import even one of them, you'll end up importing all of them, including ui.status.bluetooth and ui.status.network. So fix up the typelib include paths the same way gnome-shell-jhbuild does, so we can find everything. https://bugzilla.gnome.org/show_bug.cgi?id=650298
36 lines
934 B
Makefile
36 lines
934 B
Makefile
noinst_SCRIPTS = run-test.sh
|
|
EXTRA_DIST = run-test.sh.in
|
|
|
|
TEST_JS = \
|
|
interactive/borders.js \
|
|
interactive/border-radius.js \
|
|
interactive/border-width.js \
|
|
interactive/box-layout.js \
|
|
interactive/box-shadows.js \
|
|
interactive/calendar.js \
|
|
interactive/css-fonts.js \
|
|
interactive/entry.js \
|
|
interactive/icons.js \
|
|
interactive/inline-style.js \
|
|
interactive/scrolling.js \
|
|
interactive/scroll-view-sizing.js \
|
|
interactive/table.js \
|
|
testcommon/border-image.png \
|
|
testcommon/face-plain.png \
|
|
testcommon/ui.js \
|
|
unit/format.js
|
|
EXTRA_DIST += $(TEST_JS)
|
|
|
|
TEST_MISC = \
|
|
testcommon/test.css
|
|
EXTRA_DIST += $(TEST_MISC)
|
|
|
|
run-test.sh: run-test.sh.in
|
|
$(AM_V_GEN) sed \
|
|
-e "s|@MUTTER_TYPELIB_DIR[@]|$(MUTTER_TYPELIB_DIR)|" \
|
|
-e "s|@JHBUILD_TYPELIBDIR[@]|$(JHBUILD_TYPELIBDIR)|" \
|
|
-e "s|@srcdir[@]|$(srcdir)|" \
|
|
$< > $@ && chmod a+x $@
|
|
|
|
CLEANFILES = run-test.sh
|