[igt-dev] [PATCH i-g-t] i915/gem_exec_create: Added test description for test case
Melkaveri, Arjun
arjun.melkaveri at intel.com
Tue Jun 30 08:56:53 UTC 2020
On Tue, Jun 30, 2020 at 12:11:10PM +0530, sai.gowtham.ch at intel.com wrote:
> From: sai gowtham <sai.gowtham.ch at intel.com>
>
> Added test description for test and to all 3 subtests.
>
> Signed-off-by: sai gowtham <sai.gowtham.ch at intel.com>
> ---
> tests/i915/gem_exec_create.c | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/tests/i915/gem_exec_create.c b/tests/i915/gem_exec_create.c
> index ee7d4e5d..5236d477 100644
> --- a/tests/i915/gem_exec_create.c
> +++ b/tests/i915/gem_exec_create.c
> @@ -42,6 +42,10 @@
> #include "i915/gem.h"
> #include "igt.h"
>
> +IGT_TEST_DESCRIPTION("\n This test runs an uninterrupted loop within the specified timeouts"
> + " with different flags & ncpus combinations and checks if there are any"
> + " missed interrupts reported from the driver.");
> +
> #define ENGINE_FLAGS (I915_EXEC_RING_MASK | I915_EXEC_BSD_MASK)
>
> static double elapsed(const struct timespec *start, const struct timespec *end)
> @@ -133,12 +137,16 @@ igt_main
>
> igt_fork_hang_detector(device);
> }
> -
> + igt_describe("Runs single uninterrupted loop for 2s.");
> igt_subtest("basic")
> all(device, 0, 2, 1);
> +
> + igt_describe("Runs single uninterrupted loop for 20s.");
Can you add more information here . What happens in Forked subtest
> igt_subtest("forked")
> all(device, 0, 20, ncpus);
>
> + igt_describe("Runs single uninterrupted loop with"
> + " different flag combination for 20s.");
Same as above , Need more description of subtest . What does LEAK here
signify . git blame/log would give you moe information to update this .
> igt_subtest("madvise")
> all(device, LEAK, 20, 1);
>
> --
> 2.25.0
>
More information about the igt-dev
mailing list