ktest.pl: Define PRE_TEST_DIE to kill the test if the PRE_TEST fails
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 1 Jul 2020 14:32:28 +0000 (10:32 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 1 Jul 2020 14:35:48 +0000 (10:35 -0400)
commitd53cdda3fda6e737151e091c7d9388c31a73c828
tree34ad2855993de11960e5b14eb1f5c3bd0703621a
parent2f059db0b8313f8964ac917394e7425d966a6884
ktest.pl: Define PRE_TEST_DIE to kill the test if the PRE_TEST fails

Currently, if a PRE_TEST is defined and ran, but fails, there's nothing
currently available to make the test fail too. Add a PRE_TEST_DIE option that
when set, if a PRE_TEST is defined and fails, the test will die too.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl
tools/testing/ktest/sample.conf