diff options
author | Frederic Marec <frederic.marec@iot.bzh> | 2018-08-28 17:01:48 +0200 |
---|---|---|
committer | Frédéric Marec <frederic.marec@iot.bzh> | 2018-10-04 12:37:01 +0000 |
commit | c729e902dff501c8c3e441d49c6d0fe1ad28eede (patch) | |
tree | d4678a3e7115149a17ce796752e32dc403c52c52 /test/afb-test/fixtures/CMakeLists.txt | |
parent | 0648db82e6a5694befcf9e2fff25f4392e6814e1 (diff) |
Add tests for iiodevice binding
Add test for accelerometer, compass and gyroscope
Add script beforeAll.sh to initiate iio dummy devices
Add Readme.md to describe how to use test
Fix BUILD_TYPE in cmake.config
Change-Id: I39edfce6a43b519c0ff6bc0a7d2f1d2477098cff
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Diffstat (limited to 'test/afb-test/fixtures/CMakeLists.txt')
-rw-r--r-- | test/afb-test/fixtures/CMakeLists.txt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/afb-test/fixtures/CMakeLists.txt b/test/afb-test/fixtures/CMakeLists.txt index c737f9b..aafef80 100644 --- a/test/afb-test/fixtures/CMakeLists.txt +++ b/test/afb-test/fixtures/CMakeLists.txt @@ -19,13 +19,12 @@ ################################################## # Iiodevices test configuration files ################################################## -PROJECT_TARGET_ADD(afb-test-config) +PROJECT_TARGET_ADD(data-files) - file(GLOB CONF_FILES "*.json") - - add_input_files("${CONF_FILES}") + file(GLOB DATA_FILES "*.json" "*.sh") + add_input_files("${DATA_FILES}") SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES - LABELS "TEST-CONFIG" + LABELS "TEST-DATA" OUTPUT_NAME ${TARGET_NAME} - )
\ No newline at end of file + ) |