blob: edaaff3c9fd4adf053044e6e370427363fd3a671 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Makefile.am --- automake input file for systemtap testsuite
## process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = dejagnu
# The stap symlink is to enable "#! stap" test scripts.
all-local:
@echo Run \"make check\" or \"make installcheck\".
clean-local:
-rm -f ./stap site.exp systemtap.sum systemtap.log
-rm -rf .systemtap .cache_test 2>/dev/null
installcheck-local: clean site.exp
$(MAKE) AM_RUNTESTFLAGS="--tool_opts install" check-DEJAGNU
SRCDIR = $(shell cd $(srcdir); pwd)
EXTRA_DIST = config lib systemtap \
parseok parseko semok semko transok transko buildok buildok \
systemtap.syscall systemtap.stress systemtap.string \
systemtap.pass1-4 systemtap.samples systemtap.printf \
systemtap.maps systemtap.base
# $(srcdir)/These values point the test suite to the install tree, and
# are overridden by "make check" from full source/build tree
SYSTEMTAP_RUNTIME=$(DESTDIR)$(pkgdatadir)/runtime
SYSTEMTAP_TAPSET=$(DESTDIR)$(pkgdatadir)/tapset
LD_LIBRARY_PATH=$(DESTDIR)$(libdir)/systemtap
CRASH_LIBDIR=$(DESTDIR)$(libdir)/systemtap
SYSTEMTAP_PATH=$(DESTDIR)$(bindir)
RUNTEST="env SYSTEMTAP_RUNTIME=$(SYSTEMTAP_RUNTIME) SYSTEMTAP_TAPSET=$(SYSTEMTAP_TAPSET) LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) CRASH_LIBDIR=$(CRASH_LIBDIR) PATH=$(SYSTEMTAP_PATH):$$PATH runtest"
|