Skip to content

Commit

Permalink
Add tests for statedump notifier
Browse files Browse the repository at this point in the history
Signed-off-by: Geneviève Bastien <[email protected]>
  • Loading branch information
tahini committed Jun 14, 2018
1 parent 59e1268 commit 397264f
Show file tree
Hide file tree
Showing 10 changed files with 530 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ health_check
/tests/utils/testapp/gen-ust-events/gen-ust-events
/tests/utils/testapp/gen-ust-nevents-str/gen-ust-nevents-str
/tests/utils/testapp/gen-ust-nevents/gen-ust-nevents
/tests/utils/testapp/gen-ust-statedump-events/gen-ust-statedump-events
/tests/utils/testapp/gen-ust-tracef/gen-ust-tracef
/tests/utils/testapp/gen-syscall-events/gen-syscall-events
/tests/regression/tools/live/live_test
Expand Down
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,7 @@ AC_CONFIG_FILES([
tests/regression/ust/clock-override/Makefile
tests/regression/ust/type-declarations/Makefile
tests/regression/ust/rotation-destroy-flush/Makefile
tests/regression/ust/statedump-notifier/Makefile
tests/regression/ust/blocking/Makefile
tests/stress/Makefile
tests/unit/Makefile
Expand All @@ -1156,6 +1157,7 @@ AC_CONFIG_FILES([
tests/utils/testapp/gen-ust-nevents/Makefile
tests/utils/testapp/gen-ust-nevents-str/Makefile
tests/utils/testapp/gen-syscall-events/Makefile
tests/utils/testapp/gen-ust-statedump-events/Makefile
tests/utils/testapp/gen-ust-tracef/Makefile
])

Expand Down
1 change: 1 addition & 0 deletions tests/fast_regression
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ regression/ust/python-logging/test_python_logging
regression/ust/getcpu-override/test_getcpu_override
regression/ust/clock-override/test_clock_override
regression/ust/rotation-destroy-flush/test_rotation_destroy_flush
regression/ust/statedump-notifier/test_statedump_notifier
regression/ust/blocking/test_blocking
regression/ust/test_event_basic
regression/ust/test_event_tracef
Expand Down
3 changes: 2 additions & 1 deletion tests/regression/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ TESTS += ust/before-after/test_before_after \
ust/test_event_tracef \
ust/test_event_perf \
ust/blocking/test_blocking \
ust/multi-lib/test_multi_lib
ust/multi-lib/test_multi_lib \
ust/statedump-notifier/test_statedump_notifier
endif # HAVE_LIBLTTNG_UST_CTL

if PYTHON_BINDING
Expand Down
16 changes: 16 additions & 0 deletions tests/regression/ust/statedump-notifier/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
noinst_SCRIPTS = test_statedump_notifier
EXTRA_DIST = test_statedump_notifier

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
Loading

0 comments on commit 397264f

Please sign in to comment.