]> sourceware.org Git - systemtap.git/blame - testsuite/Makefile.in
Add the testsuite parallel testing feature.
[systemtap.git] / testsuite / Makefile.in
CommitLineData
7012fdd5 1# Makefile.in generated by automake 1.15 from Makefile.am.
814bc89d
FCE
2# @configure_input@
3
7012fdd5 4# Copyright (C) 1994-2014 Free Software Foundation, Inc.
8eef2738 5
814bc89d
FCE
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
5ba96b90 17# Makefile.am --- automake input file for systemtap testsuite
814bc89d 18VPATH = @srcdir@
7012fdd5
FCE
19am__is_gnu_make = { \
20 if test -z '$(MAKELEVEL)'; then \
21 false; \
22 elif test -n '$(MAKE_HOST)'; then \
23 true; \
24 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
25 true; \
26 else \
27 false; \
28 fi; \
29}
d9e6d90b
WC
30am__make_running_with_option = \
31 case $${target_option-} in \
32 ?) ;; \
33 *) echo "am__make_running_with_option: internal error: invalid" \
34 "target option '$${target_option-}' specified" >&2; \
35 exit 1;; \
36 esac; \
37 has_opt=no; \
38 sane_makeflags=$$MAKEFLAGS; \
39 if $(am__is_gnu_make); then \
40 sane_makeflags=$$MFLAGS; \
41 else \
fe3f0466
JS
42 case $$MAKEFLAGS in \
43 *\\[\ \ ]*) \
d9e6d90b
WC
44 bs=\\; \
45 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
46 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
47 esac; \
48 fi; \
49 skip_next=no; \
50 strip_trailopt () \
51 { \
52 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
53 }; \
54 for flg in $$sane_makeflags; do \
55 test $$skip_next = yes && { skip_next=no; continue; }; \
56 case $$flg in \
57 *=*|--*) continue;; \
58 -*I) strip_trailopt 'I'; skip_next=yes;; \
59 -*I?*) strip_trailopt 'I';; \
60 -*O) strip_trailopt 'O'; skip_next=yes;; \
61 -*O?*) strip_trailopt 'O';; \
62 -*l) strip_trailopt 'l'; skip_next=yes;; \
63 -*l?*) strip_trailopt 'l';; \
64 -[dEDm]) skip_next=yes;; \
65 -[JT]) skip_next=yes;; \
66 esac; \
67 case $$flg in \
68 *$$target_option*) has_opt=yes; break;; \
fe3f0466 69 esac; \
d9e6d90b
WC
70 done; \
71 test $$has_opt = yes
72am__make_dryrun = (target_option=n; $(am__make_running_with_option))
73am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
814bc89d 74pkgdatadir = $(datadir)/@PACKAGE@
31f9baea 75pkgincludedir = $(includedir)/@PACKAGE@
0710d850
DS
76pkglibdir = $(libdir)/@PACKAGE@
77pkglibexecdir = $(libexecdir)/@PACKAGE@
814bc89d 78am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
814bc89d
FCE
79install_sh_DATA = $(install_sh) -c -m 644
80install_sh_PROGRAM = $(install_sh) -c
81install_sh_SCRIPT = $(install_sh) -c
82INSTALL_HEADER = $(INSTALL_DATA)
83transform = $(program_transform_name)
84NORMAL_INSTALL = :
85PRE_INSTALL = :
86POST_INSTALL = :
87NORMAL_UNINSTALL = :
88PRE_UNINSTALL = :
89POST_UNINSTALL = :
27aba29a 90subdir = .
814bc89d
FCE
91ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92am__aclocal_m4_deps = $(top_srcdir)/configure.ac
93am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
94 $(ACLOCAL_M4)
7012fdd5
FCE
95DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
96 $(am__configure_deps)
27aba29a
JS
97am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
98 configure.lineno config.status.lineno
814bc89d 99mkinstalldirs = $(install_sh) -d
814bc89d 100CONFIG_CLEAN_FILES =
0710d850 101CONFIG_CLEAN_VPATH_FILES =
d9e6d90b
WC
102AM_V_P = $(am__v_P_@AM_V@)
103am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
104am__v_P_0 = false
105am__v_P_1 = :
106AM_V_GEN = $(am__v_GEN_@AM_V@)
107am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
108am__v_GEN_0 = @echo " GEN " $@;
109am__v_GEN_1 =
110AM_V_at = $(am__v_at_@AM_V@)
111am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
112am__v_at_0 = @
113am__v_at_1 =
814bc89d 114SOURCES =
fe3f0466
JS
115am__can_run_installinfo = \
116 case $$AM_UPDATE_INFO_DIR in \
117 n|no|NO) false;; \
118 *) (install-info --version) >/dev/null 2>&1;; \
119 esac
d9e6d90b 120am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
814bc89d 121DEJATOOL = $(PACKAGE)
814bc89d 122ACLOCAL = @ACLOCAL@
814bc89d 123AMTAR = @AMTAR@
d9e6d90b 124AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
814bc89d
FCE
125AUTOCONF = @AUTOCONF@
126AUTOHEADER = @AUTOHEADER@
127AUTOMAKE = @AUTOMAKE@
128AWK = @AWK@
814bc89d 129CYGPATH_W = @CYGPATH_W@
814bc89d 130DEFS = @DEFS@
814bc89d
FCE
131ECHO_C = @ECHO_C@
132ECHO_N = @ECHO_N@
133ECHO_T = @ECHO_T@
7fbd9d09 134INSTALL = @INSTALL@
814bc89d
FCE
135INSTALL_DATA = @INSTALL_DATA@
136INSTALL_PROGRAM = @INSTALL_PROGRAM@
137INSTALL_SCRIPT = @INSTALL_SCRIPT@
138INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
814bc89d
FCE
139LIBOBJS = @LIBOBJS@
140LIBS = @LIBS@
814bc89d
FCE
141LTLIBOBJS = @LTLIBOBJS@
142MAINT = @MAINT@
814bc89d 143MAKEINFO = @MAKEINFO@
7fbd9d09 144MKDIR_P = @MKDIR_P@
814bc89d
FCE
145PACKAGE = @PACKAGE@
146PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
147PACKAGE_NAME = @PACKAGE_NAME@
148PACKAGE_STRING = @PACKAGE_STRING@
149PACKAGE_TARNAME = @PACKAGE_TARNAME@
e12e958f 150PACKAGE_URL = @PACKAGE_URL@
814bc89d
FCE
151PACKAGE_VERSION = @PACKAGE_VERSION@
152PATH_SEPARATOR = @PATH_SEPARATOR@
814bc89d
FCE
153SET_MAKE = @SET_MAKE@
154SHELL = @SHELL@
155STRIP = @STRIP@
814bc89d 156VERSION = @VERSION@
7fbd9d09
FCE
157abs_builddir = @abs_builddir@
158abs_srcdir = @abs_srcdir@
159abs_top_builddir = @abs_top_builddir@
160abs_top_srcdir = @abs_top_srcdir@
814bc89d 161am__leading_dot = @am__leading_dot@
814bc89d
FCE
162am__tar = @am__tar@
163am__untar = @am__untar@
164bindir = @bindir@
165build_alias = @build_alias@
7fbd9d09 166builddir = @builddir@
814bc89d 167datadir = @datadir@
7fbd9d09 168datarootdir = @datarootdir@
27aba29a 169dejazilla = @dejazilla@
7fbd9d09
FCE
170docdir = @docdir@
171dvidir = @dvidir@
2c279bc4 172enable_testapps = @enable_testapps@
814bc89d
FCE
173exec_prefix = @exec_prefix@
174host_alias = @host_alias@
7fbd9d09 175htmldir = @htmldir@
814bc89d
FCE
176includedir = @includedir@
177infodir = @infodir@
178install_sh = @install_sh@
179libdir = @libdir@
180libexecdir = @libexecdir@
7fbd9d09 181localedir = @localedir@
814bc89d
FCE
182localstatedir = @localstatedir@
183mandir = @mandir@
184mkdir_p = @mkdir_p@
185oldincludedir = @oldincludedir@
7fbd9d09 186pdfdir = @pdfdir@
814bc89d
FCE
187prefix = @prefix@
188program_transform_name = @program_transform_name@
7fbd9d09 189psdir = @psdir@
814bc89d
FCE
190sbindir = @sbindir@
191sharedstatedir = @sharedstatedir@
7fbd9d09 192srcdir = @srcdir@
814bc89d
FCE
193sysconfdir = @sysconfdir@
194target_alias = @target_alias@
0710d850 195top_build_prefix = @top_build_prefix@
7fbd9d09
FCE
196top_builddir = @top_builddir@
197top_srcdir = @top_srcdir@
7012fdd5 198AUTOMAKE_OPTIONS = dejagnu no-dist subdir-objects
50d0c992 199DEJAZILLA = @dejazilla@
2c279bc4 200TESTAPPS = @enable_testapps@
d5658775 201TOOL_OPTS =
4040e9ea 202
8093ef39
MC
203# TESTS exists for the user to pass on the command line to easily
204# say "Only run these tests." With check or installcheck it's not necessary, but
205# with installcheck-parallel there's no other way to (easily) specify a subset
206# of tests. To specify all tests in a subdirectory, use TESTS=systemtap.subdir/*.exp.
207# E.g., make check TESTS="gdb.server/*.exp gdb.threads/*.exp".
208expanded_tests := $(patsubst $(srcdir)/%,%,$(wildcard $(addprefix $(srcdir)/,$(TESTS))))
209
210# Following are all tests we want to run within the installcheck-parallel target.
211# Those are either specified via the TESTS env var, or all the available tests.
212all_tests := $(or $(expanded_tests),$(shell cd $(srcdir) && find systemtap.* -name '*.exp' -print))
213
214# Tests that need to run serially. This namely applies to systemtap.server tests.
215# They start a new systemtap server and only expect one local server to run.
216all_serial_tests := $(shell cd $(srcdir) && find systemtap.server -name '*.exp' -print)
217serial_tests := $(filter $(all_tests),$(all_serial_tests))
218
219# There are a few tests known to be slow. We run them right from the beginning
220# to try to lessen the overall time taken by the test suite -- if one of these
221# tests happens to be run late, it will cause the overall time to increase.
222all_slow_tests = systemtap.examples/check.exp systemtap.pass1-4/buildok.exp \
223 systemtap.base/listing_mode.exp systemtap.syscall/nd_syscall.exp \
224 systemtap.unprivileged/unprivileged_myproc.exp systemtap.syscall/syscall.exp \
225 systemtap.base/sdt_misc.exp systemtap.pass1-4/parseok.exp \
226 systemtap.base/listing_mode_sanity.exp systemtap.pass1-4/parse-semok.exp \
227 systemtap.pass1-4/semok.exp systemtap.unprivileged/unprivileged_probes.exp \
228 systemtap.pass1-4/buildok-interactive.exp \
229 systemtap.onthefly/uprobes_onthefly.exp \
230 systemtap.onthefly/kprobes_onthefly.exp systemtap.base/sdt.exp \
231 systemtap.onthefly/hrtimer_onthefly.exp \
232 systemtap.onthefly/tracepoint_onthefly.exp systemtap.exelib/exelib.exp \
233 systemtap.pass1-4/semko.exp systemtap.pass1-4/parseko.exp \
234 systemtap.base/rlimit.exp systemtap.base/tracepoints.exp \
235 systemtap.base/systemtap-service.exp systemtap.maps/map_hash.exp \
236 systemtap.base/stmt_rel.exp systemtap.base/library.exp
237
238slow_tests = $(filter $(all_tests),$(all_slow_tests))
239regular_tests := $(filter-out $(serial_tests) $(slow_tests) ,$(all_tests))
240REGULAR_TEST_TARGETS := $(addprefix installcheck/,$(slow_tests) $(regular_tests))
241
4040e9ea 242# $(srcdir)/These values point the test suite to the install tree, and
5ba96b90
FCE
243# are overridden by "make check" from full source/build tree
244SYSTEMTAP_RUNTIME = $(DESTDIR)$(pkgdatadir)/runtime
245SYSTEMTAP_TAPSET = $(DESTDIR)$(pkgdatadir)/tapset
246LD_LIBRARY_PATH = $(DESTDIR)$(libdir)/systemtap
674427d3 247CRASH_LIBDIR = $(DESTDIR)$(libdir)/systemtap
d5658775 248SYSTEMTAP_PATH = $(DESTDIR)$(bindir)
818ba2bc 249SYSTEMTAP_INCLUDES = $(DESTDIR)$(includedir)
8093ef39 250RUNTESTDEFAULTFLAGS = --tool $$tool --tool_opts \'$(TOOL_OPTS)\' --srcdir $(shell readlink -f $(srcdir))
50d0c992 251EXPECT = expect
6bd8b8dd 252RUNTEST = env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 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
814bc89d
FCE
253all: all-am
254
255.SUFFIXES:
c66be968 256am--refresh: Makefile
27aba29a 257 @:
814bc89d
FCE
258$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
259 @for dep in $?; do \
260 case '$(am__configure_deps)' in \
261 *$$dep*) \
0710d850
DS
262 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
263 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
814bc89d
FCE
264 && exit 0; \
265 exit 1;; \
266 esac; \
267 done; \
0710d850
DS
268 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
269 $(am__cd) $(top_srcdir) && \
270 $(AUTOMAKE) --foreign Makefile
814bc89d
FCE
271Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
272 @case '$?' in \
273 *config.status*) \
27aba29a
JS
274 echo ' $(SHELL) ./config.status'; \
275 $(SHELL) ./config.status;; \
814bc89d 276 *) \
27aba29a
JS
277 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
278 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
814bc89d
FCE
279 esac;
280
281$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
27aba29a 282 $(SHELL) ./config.status --recheck
814bc89d
FCE
283
284$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
0710d850 285 $(am__cd) $(srcdir) && $(AUTOCONF)
814bc89d 286$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
0710d850
DS
287 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
288$(am__aclocal_m4_deps):
d9e6d90b 289tags TAGS:
814bc89d 290
d9e6d90b 291ctags CTAGS:
814bc89d 292
8eef2738
LB
293cscope cscopelist:
294
814bc89d
FCE
295
296check-DEJAGNU: site.exp
c66be968 297 srcdir='$(srcdir)'; export srcdir; \
814bc89d 298 EXPECT=$(EXPECT); export EXPECT; \
d9e6d90b 299 if $(SHELL) -c "$(RUNTEST) --version" > /dev/null 2>&1; then \
7fbd9d09 300 exit_status=0; l='$(DEJATOOL)'; for tool in $$l; do \
d9e6d90b 301 if $(RUNTEST) $(AM_RUNTESTFLAGS) $(RUNTESTDEFAULTFLAGS) $(RUNTESTFLAGS); \
7fbd9d09 302 then :; else exit_status=1; fi; \
814bc89d 303 done; \
d9e6d90b 304 else echo "WARNING: could not find '$(RUNTEST)'" 1>&2; :;\
7fbd9d09
FCE
305 fi; \
306 exit $$exit_status
c66be968 307site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG)
8eef2738 308 @echo 'Making a new site.exp file ...'
814bc89d
FCE
309 @echo '## these variables are automatically generated by make ##' >site.tmp
310 @echo '# Do not edit here. If you wish to override these values' >>site.tmp
311 @echo '# edit the last section' >>site.tmp
c66be968 312 @echo 'set srcdir "$(srcdir)"' >>site.tmp
814bc89d 313 @echo "set objdir `pwd`" >>site.tmp
c66be968
JS
314 @list='$(EXTRA_DEJAGNU_SITE_CONFIG)'; for f in $$list; do \
315 echo "## Begin content included from file $$f. Do not modify. ##" \
316 && cat `test -f "$$f" || echo '$(srcdir)/'`$$f \
317 && echo "## End content included from file $$f. ##" \
318 || exit 1; \
319 done >> site.tmp
320 @echo "## End of auto-generated content; you can edit from here. ##" >> site.tmp
321 @if test -f site.exp; then \
322 sed -e '1,/^## End of auto-generated content.*##/d' site.exp >> site.tmp; \
323 fi
814bc89d
FCE
324 @-rm -f site.bak
325 @test ! -f site.exp || mv site.exp site.bak
326 @mv site.tmp site.exp
327
328distclean-DEJAGNU:
329 -rm -f site.exp site.bak
330 -l='$(DEJATOOL)'; for tool in $$l; do \
331 rm -f $$tool.sum $$tool.log; \
332 done
814bc89d 333check-am: all-am
50d0c992 334 $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check-local
814bc89d
FCE
335check: check-am
336all-am: Makefile all-local
337installdirs:
338install: install-am
339install-exec: install-exec-am
340install-data: install-data-am
341uninstall: uninstall-am
342
343install-am: all-am
344 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
814bc89d 345install-strip:
c66be968
JS
346 if test -z '$(STRIP)'; then \
347 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
348 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
349 install; \
350 else \
351 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
352 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
353 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
354 fi
814bc89d
FCE
355mostlyclean-generic:
356
357clean-generic:
358
359distclean-generic:
360 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
0710d850 361 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
814bc89d
FCE
362
363maintainer-clean-generic:
364 @echo "This command is intended for maintainers to use"
365 @echo "it deletes files that may require special tools to rebuild."
366clean: clean-am
367
368clean-am: clean-generic clean-local mostlyclean-am
369
370distclean: distclean-am
27aba29a 371 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
814bc89d
FCE
372 -rm -f Makefile
373distclean-am: clean-am distclean-DEJAGNU distclean-generic
374
375dvi: dvi-am
376
377dvi-am:
378
379html: html-am
380
0710d850
DS
381html-am:
382
814bc89d
FCE
383info: info-am
384
385info-am:
386
387install-data-am:
388
7fbd9d09
FCE
389install-dvi: install-dvi-am
390
0710d850
DS
391install-dvi-am:
392
814bc89d
FCE
393install-exec-am:
394
7fbd9d09
FCE
395install-html: install-html-am
396
0710d850
DS
397install-html-am:
398
814bc89d
FCE
399install-info: install-info-am
400
0710d850
DS
401install-info-am:
402
814bc89d
FCE
403install-man:
404
7fbd9d09
FCE
405install-pdf: install-pdf-am
406
0710d850
DS
407install-pdf-am:
408
7fbd9d09
FCE
409install-ps: install-ps-am
410
0710d850
DS
411install-ps-am:
412
50d0c992 413installcheck-am:
814bc89d
FCE
414
415maintainer-clean: maintainer-clean-am
27aba29a
JS
416 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
417 -rm -rf $(top_srcdir)/autom4te.cache
814bc89d
FCE
418 -rm -f Makefile
419maintainer-clean-am: distclean-am maintainer-clean-generic
420
421mostlyclean: mostlyclean-am
422
423mostlyclean-am: mostlyclean-generic
424
425pdf: pdf-am
426
427pdf-am:
428
429ps: ps-am
430
431ps-am:
432
7fbd9d09
FCE
433uninstall-am:
434
0710d850 435.MAKE: check-am install-am install-strip
814bc89d 436
27aba29a 437.PHONY: all all-am all-local am--refresh check check-DEJAGNU check-am \
d9e6d90b
WC
438 check-local clean clean-generic clean-local cscopelist-am \
439 ctags-am distclean distclean-DEJAGNU distclean-generic dvi \
440 dvi-am html html-am info info-am install install-am \
441 install-data install-data-am install-dvi install-dvi-am \
442 install-exec install-exec-am install-html install-html-am \
443 install-info install-info-am install-man install-pdf \
444 install-pdf-am install-ps install-ps-am install-strip \
445 installcheck installcheck-am installdirs maintainer-clean \
446 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
447 pdf-am ps ps-am tags-am uninstall uninstall-am
814bc89d 448
7012fdd5
FCE
449.PRECIOUS: Makefile
450
814bc89d 451
814bc89d 452all-local:
5ba96b90 453 @echo Run \"make check\" or \"make installcheck\".
50d0c992 454 @if test -n "$(DEJAZILLA)"; then echo Test results will be emailed to $(DEJAZILLA); fi
814bc89d
FCE
455
456clean-local:
f105e61a 457 -rm -f ./stap site.exp systemtap.sum systemtap.log
2285f446 458 -rm -rf .systemtap* .cache_test* 2>/dev/null
26b3faf9
FCE
459 -rm -f ./stap_*.ko
460 -rm -f flightrec*
461 -rm -f *.so
462 -rm -f uprobe_*
8093ef39 463 -rm -rf artifacts
814bc89d 464
50d0c992 465# automake's dejagnu library already runs check-DEJAGNU before check-local
d06394ea
FCE
466# That's why we need to add "execrc" to $(RUNTEST) - to ensure that this
467# subtarget gets run even if runtest per se exits with a failure.
50d0c992
FCE
468check-local:
469 if test -n "$(DEJAZILLA)"; then mail $(DEJAZILLA) < systemtap.sum; fi
470
471# but installcheck does not follow an implicit check-DEJAGNU, go figure
2285f446 472installcheck: site.exp
2567a525 473 -rmmod uprobes 2>/dev/null
23361495 474 -$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU RUNTESTFLAGS="$(RUNTESTFLAGS) --tool_opts \'install $(TOOL_OPTS)\'"
50d0c992 475 if test -n "$(DEJAZILLA)"; then mail $(DEJAZILLA) < systemtap.sum; fi
0710d850 476
8093ef39
MC
477# In the parallel mode, the dg-extract-results.sh generates common .sum and .log
478# files for all the tests, plus separate logs per testcase are kept in the artifacts
479# directory. Serial tests (see below) log to artifacts/__serialtests.
480installcheck-parallel: site.exp
481 -rmmod uprobes 2>/dev/null
482 rm -rf artifacts
483 mkdir -p artifacts/__serialtests
484 MAKEFLAGS= runtest systemtap.base/environment_sanity.exp
485 -$(MAKE) -k do-installcheck-parallel; \
486 result=$$?; \
487 $(SHELL) $(srcdir)/dg-extract-results.sh \
488 `find artifacts -name systemtap.sum -print` > systemtap.sum; \
489 $(SHELL) $(srcdir)/dg-extract-results.sh -L \
490 `find artifacts -name systemtap.log -print` > systemtap.log; \
491 exit $$result
492
493do-installcheck-parallel: installcheck-serial-tests $(REGULAR_TEST_TARGETS)
494 @:
495
496installcheck-serial-tests: site.exp
497 test -z $(serial_tests) || MAKEFLAGS= $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU RUNTESTFLAGS="--outdir=artifacts/__serialtests $(serial_tests) $(RUNTESTFLAGS) --tool_opts \'install $(TOOL_OPTS)\'" STAP_PARALLEL=yes
498
499installcheck/%.exp: site.exp
500 mkdir -p artifacts/$*
501 -MAKEFLAGS= $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU RUNTESTFLAGS="--outdir=artifacts/$* $*.exp $(RUNTESTFLAGS) --tool_opts \'install $(TOOL_OPTS)\'" STAP_PARALLEL=yes
502
814bc89d
FCE
503# Tell versions [3.59,3.63) of GNU make to not export all variables.
504# Otherwise a system limit (for SysV at least) may be exceeded.
505.NOEXPORT:
This page took 0.243684 seconds and 5 git commands to generate.