ktest: Minor cleanup with uninitialized variable $build_options
authorJohn 'Warthog9' Hawley (VMware) <warthog9@eaglescrag.net>
Tue, 20 Apr 2021 00:29:26 +0000 (17:29 -0700)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 3 May 2021 22:57:02 +0000 (18:57 -0400)
Signed-off-by: John 'Warthog9' Hawley (VMware) <warthog9@eaglescrag.net>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl

index 4e2450964517381833766082fb4d4b71e4e095ad..18fd4fd117dd3889a888322d6e456c28de2a78e8 100755 (executable)
@@ -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)) {