From 2ae655f0b861797f6d0e1c7075ffe6267dabe24c Mon Sep 17 00:00:00 2001 From: Jon Nordby Date: Fri, 8 Aug 2025 19:14:31 +0200 Subject: pdm: Fix python path for tests --- bindings/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bindings') diff --git a/bindings/Makefile b/bindings/Makefile index c1f19f0..bdab0f0 100644 --- a/bindings/Makefile +++ b/bindings/Makefile @@ -1,7 +1,7 @@ SHARED_LIB=obj_dir/libsim.so -# FIXME: +# FIXME: handle different Python versions PY_MODULE=galearn_pdm.cpython-313-x86_64-linux-gnu.so all: ${PY_MODULE} @@ -15,7 +15,7 @@ ${SHARED_LIB}: ../cocotb_try/cic3_pdm.v ./sim_cic3_pdm.cc verilator --cc --lib-create sim --build -j 0 -Wall $^ check: ${PY_MODULE} - python test_galearn_pdm.py + PYTHONPATH=../tools python test_galearn_pdm.py ${PY_MODULE}: ${SHARED_LIB} python setup.py build_ext --inplace -- cgit v1.2.3