2009-11-18 Chris Toshok <toshok@ximian.com>
[moon.git] / test / Makefile.am
blob84c539aa1141f82f48ba3c3895a517bd4f1c1fe4
2 SUBDIRS=harness parsertest sizes
3 DIST_SUBDIRS = $(SUBDIRS) cpp templates
5 if INCLUDE_BROWSER_MANAGED_CODE
6 SUBDIRS += 2.0
7 endif
9 if INCLUDE_TESTING
10 TESTING = true
11 else
12 TESTING = echo ERROR: Test harness is disabled by configuration; false
13 endif
15 check-testing:
16         $(TESTING)
18 install-test-plugin: check-testing
19         $(MAKE) $(AM_MAKEFLAGS) -C harness/shocker install-test-plugin
21 run-unit-tests:
22         $(MAKE) -C 2.0/moon-unit test
24 run-unit-tests-harness:
25         $(MAKE) -C 2.0/moon-unit
26         MOONLIGHT_UNIT_HARNESS_LOG_DIRECTORY=$(srcdir)/test-run-data DRTLIST=2.0/moon-unit/site/drtlist.xml $(MAKE) run-xephyr
28 dist-hook:
29         cp -a $(srcdir)/xaml $(distdir)/xaml
30         find $(distdir)/xaml -name .svn | xargs rm -rf
32 noinst_PROGRAMS = uris
34 uris_SOURCES= uri-test.cpp
36 uris_LDADD = $(MOON_PROG_LIBS)
38 uris_CPPFLAGS = $(MOON_PROG_CFLAGS) -I$(top_srcdir)/src/ -I$(top_srcdir)/src/asf