Fix: null check after deref, use uninitialized or freed variable
[babeltrace.git] / tests / Makefile.am
index 5927f59eff6a2edee32871a901277661ea9c2f10..7ae72255db6aac3cd796d213eff49df73f8e0420 100644 (file)
@@ -1,34 +1,9 @@
-SUBDIRS = utils bin lib
+SUBDIRS = utils cli lib bindings
 
-EXTRA_DIST = $(srcdir)/ctf-traces/** tests
-if ENABLE_DEBUGINFO
-EXTRA_DIST += $(srcdir)/debuginfo-data/** tests_debuginfo
-endif
-
-SCRIPT_LIST = run.sh
-
-dist_noinst_SCRIPTS = $(SCRIPT_LIST)
-
-all-local:
-       @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
-               for script in $(SCRIPT_LIST); do \
-                       cp -f $(srcdir)/$$script $(builddir); \
-               done; \
-       fi
-
-clean-local:
-       @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
-               for script in $(SCRIPT_LIST); do \
-                       rm -f $(builddir)/$$script; \
-               done; \
-       fi
+EXTRA_DIST = $(srcdir)/ctf-traces/** \
+            $(srcdir)/debug-info-data/** \
+            $(srcdir)/debug-info-data/.build-id/cd/**
 
-TEMPLIST := $(shell mktemp -u)
-check-am:
-       @cat $(srcdir)/tests > $(TEMPLIST)
-if ENABLE_DEBUGINFO
-       @echo '' >> $(TEMPLIST)
-       @cat $(srcdir)/tests_debuginfo >> $(TEMPLIST)
+if !ENABLE_BUILT_IN_PLUGINS
+SUBDIRS += plugins
 endif
-       ./run.sh $(TEMPLIST)
-       rm $(TEMPLIST)
This page took 0.024686 seconds and 4 git commands to generate.