Re: [PATCH v4] selftests: membarrier: reorganized test for LTS supportability

From: Rafael David Tinoco
Date: Mon Sep 03 2018 - 15:12:17 EST


On Mon, Sep 3, 2018 at 4:05 PM Rafael David Tinoco
<rafael.tinoco@xxxxxxxxxx> wrote:
>
> This commit re-organizes membarrier test, solving issues when testing
> LTS kernels. Now, the code:
>
> - always run the same amount of tests (even on older kernels).
> - allows each test to succeed, fail or be skipped independently.
> - allows testing features even when explicitly unsupported (force=1).
> - able to consider different return codes for diff kernel versions.
> - checks false positive/negative by checking ret code and errno.
> - can be extended easily: to expand an array with commands.
>
> Link: https://bugs.linaro.org/show_bug.cgi?id=3771
> Signed-off-by: Rafael David Tinoco <rafael.tinoco@xxxxxxxxxx>

Shuah,

You will find all tests, for kernels 4.4 4.9 4.14 4.16 4.17 main and next, here:

https://bugs.linaro.org/show_bug.cgi?id=3771#c8

I hope this address all your previous concerns for the test.
Please, let me know if it does not and/or you find something I should change.
Thanks in advance,
-Rafael