summaryrefslogtreecommitdiffstats
path: root/test/afb-test/etc/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/afb-test/etc/CMakeLists.txt')
-rw-r--r--test/afb-test/etc/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/afb-test/etc/CMakeLists.txt b/test/afb-test/etc/CMakeLists.txt
index cd4beb91..b4617ac8 100644
--- a/test/afb-test/etc/CMakeLists.txt
+++ b/test/afb-test/etc/CMakeLists.txt
@@ -20,8 +20,12 @@
# Low-CAN test configuration files
##################################################
PROJECT_TARGET_ADD(afb-test-config)
+ if(WITH_FEATURE_J1939)
+ set(J1939_TEST_CONFFILE ",\"low-can_J1939Test.lua\"")
+ endif()
- file(GLOB CONF_FILES "*.json")
+ configure_file("aft-agl-service-low-can.json.in" "aft-agl-service-low-can.json")
+ file(GLOB CONF_FILES "${CMAKE_CURRENT_BINARY_DIR}/*.json")
add_input_files("${CONF_FILES}")