aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-09-03 11:02:54 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-09-08 11:42:17 -0500
commitfd2ff73b820079e4670f1348c5ab8f5c61143b34 (patch)
treeb3b1570d46f52a7fc940515e33a81d68cf30bb06 /host/lib/usrp
parent11a20a10c78d494036ef2edf4d6197bbb59dd3fc (diff)
downloaduhd-fd2ff73b820079e4670f1348c5ab8f5c61143b34.tar.gz
uhd-fd2ff73b820079e4670f1348c5ab8f5c61143b34.tar.bz2
uhd-fd2ff73b820079e4670f1348c5ab8f5c61143b34.zip
cmake: tests: Add build-python path to PYTHONPATH
This is more of an expressive change than a functional change; Python seems to add this path to the PYTHONPATH anyway, at least for some systems. We neverless make this change because: - It's more explicit/expressive. When tests are run, the PYTHONPATH env variable is printed, and it now contains this path where it should be, right at the front. People reading the ctest/python.unittest output now get told explicitly which path we mean. - This guarantees that this path is added, even if Python/unittest should behave differently on other systems or versions. To clarify: When running unit tests, we want to run the Python code from build/python, not the installed version. The latter may not yet exist, and if it does, it's not the version we are editing.
Diffstat (limited to 'host/lib/usrp')
0 files changed, 0 insertions, 0 deletions