Tests: Fix first line of output to follow TAP guidelines
authorChristian Babeux <christian.babeux@efficios.com>
Thu, 21 Mar 2013 19:56:44 +0000 (15:56 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 25 Mar 2013 14:05:31 +0000 (10:05 -0400)
commite3bef7256ce348cf232ede3f36721e661cfda2a7
tree7eedbd89af628b2d4f4f646336ca16d71ffce778
parent813e19a22d705c05664816f03f6cbdfa0a35a5ea
Tests: Fix first line of output to follow TAP guidelines

From the Test::Harness::TAP documentation [1]:

The plan tells how many tests will be run, or how many tests have
run.  It's a check that the test file hasn't stopped prematurely.
It must appear once, whether at the beginning or end of the output.

The TAP plan *must* be the first line of output of any tests. Currently,
most of the tests output their description and then the TAP plan. This
can cause issues while parsing the test output for "strict" TAP parser
such as the one used in the prove tool.

This commit ensure that the first line outputted by any tests is the TAP
plan.

Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
24 files changed:
tests/regression/kernel/test_all_events
tests/regression/kernel/test_event_basic
tests/regression/tools/filtering/test_invalid_filter
tests/regression/tools/filtering/test_unsupported_op
tests/regression/tools/filtering/test_valid_filter
tests/regression/tools/health/test_thread_exit
tests/regression/tools/health/test_thread_stall
tests/regression/tools/health/test_tp_fail
tests/regression/tools/streaming/test_high_throughput_limits
tests/regression/tools/streaming/test_kernel
tests/regression/tools/streaming/test_ust
tests/regression/ust/before-after/test_before_after
tests/regression/ust/buffers-uid/test_buffers_uid
tests/regression/ust/high-throughput/test_high_throughput
tests/regression/ust/low-throughput/test_low_throughput
tests/regression/ust/multi-session/test_multi_session
tests/regression/ust/nprocesses/test_nprocesses
tests/regression/ust/overlap/test_overlap
tests/regression/ust/test_event_basic
tests/regression/ust/test_event_wildcard
tests/unit/test_kernel_data.c
tests/unit/test_session.c
tests/unit/test_uri.c
tests/unit/test_ust_data.c
This page took 0.036531 seconds and 4 git commands to generate.