commit | 6fac733d9d07c4fcc349a44add75c6435cc3f18c | [log] [tgz] |
---|---|---|
author | Brenda J. Butler <bjb@mojatatu.com> | Wed Feb 14 14:09:20 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 15 15:38:33 2018 -0500 |
tree | 5a688f285f90356bde320e57ce6f4cccc8f87376 | |
parent | f87c7f646c6f704b29504d63c4ab965584c4aacb [diff] |
tools: tc-testing: Refactor test-runner Split the test_runner function into the loop part (test_runner) and the contents (run_one_test) for maintainability. It makes it a little easier to catch exceptions in an individual test, and keep going (and flush a bunch of tap results for the skipped tests). Signed-off-by: Brenda J. Butler <bjb@mojatatu.com> Acked-by: Lucas Bates <lucasb@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>