diff options
author | Jon Nordby <jononor@gmail.com> | 2025-08-08 19:14:31 +0200 |
---|---|---|
committer | Jon Nordby <jononor@gmail.com> | 2025-08-08 19:14:31 +0200 |
commit | 2ae655f0b861797f6d0e1c7075ffe6267dabe24c (patch) | |
tree | c88c479153270212165d01d22ae7764eef941bf7 /bindings/Makefile | |
parent | 42cebd3dad810a304831e03468648df24d0d540a (diff) |
pdm: Fix python path for tests
Diffstat (limited to 'bindings/Makefile')
-rw-r--r-- | bindings/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 |