File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ def runTest(self):
7575 src_path = os .path .join (src_path , line )
7676 break
7777 log .info ("\n \n source path = %s" % src_path )
78+ self .cv_HOST .host_run_command ('mv %s /root/kernel/linux' % src_path )
79+ src_path = '/root/kernel/linux'
7880 log .info ("\n adding gcov_param...." )
7981 self .kernel_config (src_path )
8082 log .info ("Building the new kernel..." )
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ def setUp(self):
5353 self .util = OpTestUtil (OpTestConfiguration .conf )
5454 self .c = self .cv_SYSTEM .cv_HOST .get_ssh_connection ()
5555 self .distro = self .util .distro_name ()
56- self .k_version = "" .join (self .cv_HOST .host_run_command ("uname -r" ))
5756
5857 def runTest (self ):
5958 '''
@@ -102,8 +101,7 @@ def runTest(self):
102101 Running the test
103102 '''
104103 self .c = self .cv_SYSTEM .cv_HOST .get_ssh_connection ()
105- self .k_version = "" .join (self .cv_HOST .host_run_command ("uname -r" ))
106- src_path = f'/root/kernel-{ self .k_version } */linux-{ self .k_version } *'
104+ src_path = f'/root/kernel/linux'
107105 self .cv_HOST .host_run_command (f"cd { src_path } " )
108106 src_path = "" .join (self .cv_HOST .host_run_command ("pwd" ))
109107 temp_dir = tempfile .mkdtemp (prefix = "Lcov_result_" )
You can’t perform that action at this time.
0 commit comments