]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb77eb9a9b6228aa6a36f7c41c89385a54184802
tree34ad2855993de11960e5b14eb1f5c3bd0703621a
parentab9ccfa9fea7b3781eac18b4590bf797f00401ba
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