aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/devtest
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-11-27 21:24:19 -0800
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-11-29 09:55:08 -0800
commit2e85508a8719e2c1be548b70cf797365ce69a1f9 (patch)
tree6ff2d7aca926b58e6beca0bbccde78e9941ccb23 /host/tests/devtest
parent32457928dd056198900b90215a0690a4226a2b60 (diff)
downloaduhd-2e85508a8719e2c1be548b70cf797365ce69a1f9.tar.gz
uhd-2e85508a8719e2c1be548b70cf797365ce69a1f9.tar.bz2
uhd-2e85508a8719e2c1be548b70cf797365ce69a1f9.zip
cmake: Properly register devtest
If N300 or E320 is disabled, the appropriate devtests are no longer registered.
Diffstat (limited to 'host/tests/devtest')
-rw-r--r--host/tests/devtest/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/tests/devtest/CMakeLists.txt b/host/tests/devtest/CMakeLists.txt
index 69acc638f..6a76a440c 100644
--- a/host/tests/devtest/CMakeLists.txt
+++ b/host/tests/devtest/CMakeLists.txt
@@ -43,8 +43,10 @@ endif(ENABLE_X300)
if(ENABLE_E300)
ADD_DEVTEST("e3xx" "e3x0" "E3XX")
endif(ENABLE_E300)
-if(ENABLE_MPMD)
+if(ENABLE_N300)
ADD_DEVTEST("n3x0" "n3xx" "N3XX")
+endif(ENABLE_N300)
+if(ENABLE_E320)
ADD_DEVTEST("e320" "e3xx" "E32x")
endif(ENABLE_MPMD)
# Formatting