Add compile to tests/failing_tests/conditionals/helper_cond.py

This commit is contained in:
Pragyansh Chaturvedi
2025-10-08 07:26:41 +05:30
parent 17004d58df
commit 9fdc6fa3ed

View File

@ -1,4 +1,4 @@
from pythonbpf import bpf, map, section, bpfglobal
from pythonbpf import bpf, map, section, bpfglobal, compile
from ctypes import c_void_p, c_int64, c_uint64
from pythonbpf.maps import HashMap
@ -29,3 +29,6 @@ def hello_world(ctx: c_void_p) -> c_int64:
@bpfglobal
def LICENSE() -> str:
return "GPL"
compile()