]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc: Create a new SKIP_IF macro
authorBreno Leitao <leitao@debian.org>
Wed, 31 Oct 2018 14:38:21 +0000 (11:38 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 25 Nov 2018 06:11:22 +0000 (17:11 +1100)
commit850d7863920ef7f313b7da87545e3fb2dd21935a
tree1c9be40bf8ecf8410a807714bf3154ae3c8d210a
parent8b841126f22f2f047cdc9885b7650273de64043b
selftests/powerpc: Create a new SKIP_IF macro

This patch creates a new macro that skips a test and prints a message to
stderr. This is useful to give an idea why the tests is being skipped,
other than just skipping the test blindly.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/include/utils.h