X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2FMakefile.am;h=53e3e43c2a19b3ee84dbe323e6307bce7dfd2510;hp=441354e12df708d979208f02def31437c7773142;hb=568d7e2db7370f57e9612eb9b8c1a6b0bf5213cd;hpb=9ac429ef32142eaecfec2d1a44569464c4f8f721 diff --git a/tests/regression/Makefile.am b/tests/regression/Makefile.am index 441354e12..53e3e43c2 100644 --- a/tests/regression/Makefile.am +++ b/tests/regression/Makefile.am @@ -1,13 +1,21 @@ -SUBDIRS = . tools kernel +SUBDIRS = tools kernel ust -AM_CFLAGS = -g -Wall -AM_LDFLAGS = -lurcu -lurcu-cds - -EXTRA_DIST = run-report.py test_list.py runall.sh +EXTRA_DIST = run-report.py test_list.py if HAVE_LIBLTTNG_UST_CTL SUBDIRS += ust endif # HAVE_LIBLTTNG_UST_CTL -check-am: - ./runall.sh +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi + +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi