Skip to content

Commit e713c86

Browse files
authored
Merge pull request #280 from glimchb/test
test: adding dependency on pynvme
2 parents f45c6d4 + 3a09db1 commit e713c86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libnvme/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ if have_python_support
5858
test_env.append('PYTHONMALLOC', 'malloc')
5959

6060
# Test section
61-
test('[Python] import libnvme', python3, args: ['-c', 'from libnvme import nvme'], env: test_env)
61+
test('[Python] import libnvme', python3, args: ['-c', 'from libnvme import nvme'], env: test_env, depends: pynvme_clib)
6262

6363
py_tests = [
6464
[ 'create ctrl object', files('tests/create-ctrl-obj.py') ],
6565
]
6666
foreach test: py_tests
6767
description = test[0]
6868
py_script = test[1]
69-
test('[Python] ' + description, python3, args: [py_script, ], env: test_env)
69+
test('[Python] ' + description, python3, args: [py_script, ], env: test_env, depends: pynvme_clib)
7070
endforeach
7171
endif

0 commit comments

Comments
 (0)