summaryrefslogtreecommitdiff
path: root/tools/testing/ktest
diff options
context:
space:
mode:
authorJohn 'Warthog9' Hawley (VMware) <warthog9@eaglescrag.net>2021-04-19 17:29:26 -0700
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-05-03 18:57:02 -0400
commitda2e56634b262fddfa40b2cfedd24de841418cd3 (patch)
treee78bdb0894e1ede09e153cf2aaf71aa590a02073 /tools/testing/ktest
parentfe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8 (diff)
ktest: Minor cleanup with uninitialized variable $build_options
Signed-off-by: John 'Warthog9' Hawley (VMware) <warthog9@eaglescrag.net> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest')
-rwxr-xr-xtools/testing/ktest/ktest.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index 4e2450964517..18fd4fd117dd 100755
--- a/tools/testing/ktest/ktest.pl
+++ b/tools/testing/ktest/ktest.pl
@@ -2594,6 +2594,9 @@ sub build {
# Run old config regardless, to enforce min configurations
make_oldconfig;
+ if (not defined($build_options)){
+ $build_options = "";
+ }
my $build_ret = run_command "$make $build_options", $buildlog;
if (defined($post_build)) {