commit | e3333c599482245d08002725cc1b353e4963fa26 | [log] [tgz] |
---|---|---|
author | Sandipan Das <sandipan@linux.ibm.com> | Mon Jul 27 09:30:38 2020 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Jul 29 21:02:10 2020 +1000 |
tree | 16a6c8a4ba0d1912edd2dbc479fdd92ea41dbb23 | |
parent | 03634bbf5d8a6f2d97e6150a1b8ff03675badac3 [diff] |
selftests/powerpc: Add helper to exit on failure This adds a helper similar to FAIL_IF() which lets a program exit with code 1 (to indicate failure) when the given condition is true. Signed-off-by: Sandipan Das <sandipan@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/dac282d5c2e96e7816dc522e4e20d56d7c79c898.1595821792.git.sandipan@linux.ibm.com