We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaa837a commit 10986a6Copy full SHA for 10986a6
kernel/kselftest.py
@@ -249,10 +249,13 @@ def ksmtest(self):
249
.format(ksm_test_dir))
250
251
def bpf(self):
252
- bpf_test_dir = self.sourcedir + "/bpf/"
253
- os.chdir(bpf_test_dir)
254
- build.make(bpf_test_dir)
255
- build.make(bpf_test_dir, extra_args='run_tests')
+ """
+ Execute the kernel bpf selftests
+ self.sourcedir = os.path.join(self.buldir, self.testdir)
256
+ os.chdir(self.sourcedir)
257
+ build.make(self.sourcedir)
258
+ build.make(self.sourcedir, extra_args='run_tests')
259
260
def cpufreq(self):
261
"""
kernel/kselftest.py.data/bpf.yaml
@@ -0,0 +1,7 @@
1
+component: !mux
2
+ bpf:
3
+ comp: 'bpf'
4
+run_type: !mux
5
+ upstream:
6
+ type: 'upstream'
7
+ location: ''
0 commit comments