summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Koch <mkoch@de.adit-jv.com>2020-01-13 11:50:32 +0100
committerMartin Koch <mkoch@de.adit-jv.com>2020-01-14 15:27:13 +0100
commite0c47ec1fd95abbc5f8f32f9d9968dfbd02b0999 (patch)
tree94fbf2c6dc4c80ca869aa5035faa0a5078e47947
parent522a451d6b5f6e67a87310effac47bcd6490cde2 (diff)
downloadaudiomanager-e0c47ec1fd95abbc5f8f32f9d9968dfbd02b0999.tar.gz
AM-Test: exclude AmSocketHandlerTest from build if WITH_DLT is not enabled
Signed-off-by: Martin Koch <mkoch@de.adit-jv.com>
-rw-r--r--AudioManagerUtilities/test/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/AudioManagerUtilities/test/CMakeLists.txt b/AudioManagerUtilities/test/CMakeLists.txt
index 414e199..74e56f9 100644
--- a/AudioManagerUtilities/test/CMakeLists.txt
+++ b/AudioManagerUtilities/test/CMakeLists.txt
@@ -1,2 +1,8 @@
-add_subdirectory (AmSocketHandlerTest)
+if (WITH_DLT)
+ # this test works only if Utilities are built with DLT support - skip otherwise
+ add_subdirectory (AmSocketHandlerTest)
+else (WITH_DLT)
+ message ( WARNING "CAmSocketHandlerTest requires DLT support - skipping ...")
+endif (WITH_DLT)
+
add_subdirectory (AmSerializerTest)