]> 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)
commit3bb0931a8fdbb1ca477c62e6e5130ffa4ba46034
tree34ad2855993de11960e5b14eb1f5c3bd0703621a
parent12a174fe96b9d48f78cb2a3eab4c56b623c6acfe
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