]> sourceware.org Git - systemtap.git/blob - testsuite/Makefile.am
Rename CONTEXT regflags to probe_flags. Now simply indicates user mode.
[systemtap.git] / testsuite / Makefile.am
1 # Makefile.am --- automake input file for systemtap testsuite
2 ## process this file with automake to produce Makefile.in
3
4 AUTOMAKE_OPTIONS = dejagnu no-dist
5
6 all-local:
7 @echo Run \"make check\" or \"make installcheck\".
8 @if test -n "$(DEJAZILLA)"; then echo Test results will be emailed to $(DEJAZILLA); fi
9
10 clean-local:
11 -rm -f ./stap site.exp systemtap.sum systemtap.log
12 -rm -rf .systemtap* .cache_test* 2>/dev/null
13 -rm -f ./stap_*.ko
14 -rm -f flightrec*
15 -rm -f *.so
16 -rm -f uprobe_*
17
18 DEJAZILLA=@dejazilla@
19 TESTAPPS=@enable_testapps@
20 TOOL_OPTS=
21
22 # automake's dejagnu library already runs check-DEJAGNU before check-local
23 # That's why we need to add "execrc" to $(RUNTEST) - to ensure that this
24 # subtarget gets run even if runtest per se exits with a failure.
25 check-local:
26 if test -n "$(DEJAZILLA)"; then mail $(DEJAZILLA) < systemtap.sum; fi
27
28 # but installcheck does not follow an implicit check-DEJAGNU, go figure
29 installcheck: site.exp
30 -rmmod uprobes 2>/dev/null
31 -$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU RUNTESTFLAGS="$(RUNTESTFLAGS) --tool_opts \'install $(TOOL_OPTS)\'"
32 if test -n "$(DEJAZILLA)"; then mail $(DEJAZILLA) < systemtap.sum; fi
33
34 # $(srcdir)/These values point the test suite to the install tree, and
35 # are overridden by "make check" from full source/build tree
36 SYSTEMTAP_RUNTIME=$(DESTDIR)$(pkgdatadir)/runtime
37 SYSTEMTAP_TAPSET=$(DESTDIR)$(pkgdatadir)/tapset
38 LD_LIBRARY_PATH=$(DESTDIR)$(libdir)/systemtap
39 CRASH_LIBDIR=$(DESTDIR)$(libdir)/systemtap
40 SYSTEMTAP_PATH=$(DESTDIR)$(bindir)
41 SYSTEMTAP_INCLUDES=$(DESTDIR)$(includedir)
42
43 RUNTESTDEFAULTFLAGS = --tool $$tool --tool_opts \'$(TOOL_OPTS)\' --srcdir $$srcdir
44 EXPECT = expect
45 RUNTEST="env LANG=C SYSTEMTAP_TESTREMOTES=$(TESTREMOTES) SYSTEMTAP_TESTAPPS=$(TESTAPPS) SYSTEMTAP_RUNTIME=$(SYSTEMTAP_RUNTIME) SYSTEMTAP_TAPSET=$(SYSTEMTAP_TAPSET) LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) CRASH_LIBDIR=$(CRASH_LIBDIR) PATH=$(SYSTEMTAP_PATH):$$PATH SYSTEMTAP_PATH=$(SYSTEMTAP_PATH) SYSTEMTAP_INCLUDES=$(SYSTEMTAP_INCLUDES) PKGLIBDIR=$(pkglibexecdir) $(srcdir)/execrc runtest"
This page took 0.03805 seconds and 5 git commands to generate.