commit | 7afed3dc36ebaf4e4375db6d36e0e766a7fd4d44 | [log] [tgz] |
---|---|---|
author | Shuah Khan (Samsung OSG) <shuah@kernel.org> | Wed Apr 25 09:32:20 2018 -0600 |
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | Wed May 30 15:21:51 2018 -0600 |
tree | e6dd062d9db1848e4a1675c5a12b52a3b748f132 | |
parent | 3f4435b5149372b3bbc5acab5c835d490490d6bc [diff] |
selftests: lib.mk: move running and printing result to a new function RUN_TESTS function has grown and becoming harder to maintain. Move the code that runs and tests for returns codes to a new function and call it from RUN_TESTS. A new RUN_TEST_PRINT_RESULT is created to simplify RUN_TESTS and make it easier to add handling for other return codes as needed. Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>