ktest: Set buildonly=1 for CONFIG_BISECT_TYPE=build
authorScott Wood <swood@redhat.com>
Mon, 17 Jul 2017 00:16:24 +0000 (19:16 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 21 Mar 2018 16:18:18 +0000 (12:18 -0400)
commit25bc70fa0968dacb40eec37d4340163df48b06cf
tree2b1aa8dbe0419fe3bd5baaeddd17884cbd493156
parent6dd3791dcf3051f47898a59553aaf21cd2cf8d1d
ktest: Set buildonly=1 for CONFIG_BISECT_TYPE=build

Rather than adding a third copy of the same logic, rework it to cover
all three buildonly cases at once.

In the future, please consider using the same variable to perform the
same function regardless of context...

Link: http://lkml.kernel.org/r/20170717001630.10518-2-swood@redhat.com
Signed-off-by: Scott Wood <swood@redhat.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl