[lttng-dev] [PATCH lttng-tools 0/2] Improve testing.

David Goulet dgoulet at efficios.com
Tue Sep 17 13:38:09 EDT 2013


Hi Stefan!

So, two things I observed here. First, the kill* command from utils.sh now fails
because they use "lt-lttng-*" rather then "lttng-*". Changing that fixes the issue.

The second thing, the verbose mode is active for the tests now. Is it something
you forgot to remove or is there a purpose?

Cheers!
David

Stefan Seefeld:
> The first of these two patches is a minor improvement I had meant to send out 
> much earlier. It allows to configure / build against an lttng-ust in a non-default
> location.
> 
> The second patch follows up on our previous discussion about support for 'make check'
> vs. 'make installcheck'. It sets the PATH variable appropriately from within the
> Makefile, and then removes the hard-coding from the various tests and support scripts.
> 
> Stefan Seefeld (2):
>   Add --with-lttng-ust-prefix config option.
>   Robustify tests.
> 
>  configure.ac                                       |  9 +++
>  tests/Makefile.am                                  |  5 ++
>  .../regression/tools/filtering/test_invalid_filter |  3 +-
>  .../regression/tools/filtering/test_unsupported_op |  3 +-
>  tests/regression/tools/filtering/test_valid_filter |  3 +-
>  tests/regression/tools/health/test_thread_exit     |  1 -
>  tests/regression/tools/health/test_thread_stall    |  1 -
>  .../tools/snapshots/test_kernel_streaming          |  2 +-
>  tests/regression/tools/snapshots/test_ust          |  2 +-
>  .../regression/tools/snapshots/test_ust_streaming  |  2 +-
>  .../tools/streaming/test_high_throughput_limits    |  2 +-
>  tests/regression/tools/streaming/test_kernel       |  2 +-
>  tests/regression/tools/streaming/test_ust          |  2 +-
>  .../tools/tracefile-limits/test_tracefile_count    |  4 +-
>  .../tools/tracefile-limits/test_tracefile_size     |  4 +-
>  tests/regression/ust/buffers-pid/test_buffers_pid  | 12 ++--
>  tests/regression/ust/daemon/test_daemon            |  4 +-
>  tests/regression/ust/exit-fast/test_exit-fast      |  4 +-
>  tests/regression/ust/fork/test_fork                |  4 +-
>  .../regression/ust/libc-wrapper/test_libc-wrapper  |  4 +-
>  tests/regression/ust/linking/test_linking          |  4 +-
>  tests/regression/ust/nprocesses/test_nprocesses    |  2 +-
>  tests/regression/ust/overlap/test_overlap          |  2 +-
>  .../test_periodical_metadata_flush                 |  8 +--
>  tests/regression/ust/test_event_basic              |  7 +--
>  tests/regression/ust/test_event_wildcard           |  1 -
>  tests/run.sh                                       |  2 +-
>  tests/utils/utils.sh                               | 72 ++++++++++------------
>  28 files changed, 82 insertions(+), 89 deletions(-)
> 



More information about the lttng-dev mailing list