mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-04-25 23:21:27 +00:00
Tests: Enable vmlinux requirement for verifier tests
This commit is contained in:
@ -25,19 +25,11 @@ from tests.framework.verifier import verify_object
|
|||||||
|
|
||||||
|
|
||||||
def _passing_test_files():
|
def _passing_test_files():
|
||||||
return [
|
return [c.path for c in collect_all_test_files() if not c.is_expected_fail]
|
||||||
c.path
|
|
||||||
for c in collect_all_test_files()
|
|
||||||
if not c.is_expected_fail and not c.needs_vmlinux
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
def _passing_test_ids():
|
def _passing_test_ids():
|
||||||
return [
|
return [c.rel_path for c in collect_all_test_files() if not c.is_expected_fail]
|
||||||
c.rel_path
|
|
||||||
for c in collect_all_test_files()
|
|
||||||
if not c.is_expected_fail and not c.needs_vmlinux
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
def _get_rejection_reason(verifier_test_file: Path, output) -> str:
|
def _get_rejection_reason(verifier_test_file: Path, output) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user