File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ def runTest(self):
75
75
src_path = os .path .join (src_path , line )
76
76
break
77
77
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'
78
80
log .info ("\n adding gcov_param...." )
79
81
self .kernel_config (src_path )
80
82
log .info ("Building the new kernel..." )
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ def setUp(self):
53
53
self .util = OpTestUtil (OpTestConfiguration .conf )
54
54
self .c = self .cv_SYSTEM .cv_HOST .get_ssh_connection ()
55
55
self .distro = self .util .distro_name ()
56
- self .k_version = "" .join (self .cv_HOST .host_run_command ("uname -r" ))
57
56
58
57
def runTest (self ):
59
58
'''
@@ -102,8 +101,7 @@ def runTest(self):
102
101
Running the test
103
102
'''
104
103
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'
107
105
self .cv_HOST .host_run_command (f"cd { src_path } " )
108
106
src_path = "" .join (self .cv_HOST .host_run_command ("pwd" ))
109
107
temp_dir = tempfile .mkdtemp (prefix = "Lcov_result_" )
You can’t perform that action at this time.
0 commit comments