aboutsummaryrefslogtreecommitdiffstats
path: root/coverage
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-11-19 13:43:06 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-11-29 12:48:17 +0100
commit0fd887b7ab896e47b2f7ffe78f41738f3824a962 (patch)
treec8e1e39c1969f65387543bec49d460a4787f2624 /coverage
parent5ac7bb0d9d16260d2235820e97ab47943ffc307b (diff)
u16id: Add maps for identifiers id of 16 bits
These maps will shortly be used by protocol to handle tokens/sessions/events. Bug-AGL: SPEC-2968 Change-Id: Iadef7d6e01c8ef021516749524b10ccc1abec340 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'coverage')
-rw-r--r--coverage/.gitignore1
-rw-r--r--coverage/bin/Makefile7
-rwxr-xr-xcoverage/scripts/run-test.sh2
3 files changed, 9 insertions, 1 deletions
diff --git a/coverage/.gitignore b/coverage/.gitignore
index f0d02b07..364cfc35 100644
--- a/coverage/.gitignore
+++ b/coverage/.gitignore
@@ -9,6 +9,7 @@ bin/afb-daemon-nocov
bin/test-apiset
bin/test-session
bin/test-wrap-json
+bin/test-u16id
bin/*.o
bin/*.so
bin/*.gcda
diff --git a/coverage/bin/Makefile b/coverage/bin/Makefile
index 9ebfa9d7..4075e58b 100644
--- a/coverage/bin/Makefile
+++ b/coverage/bin/Makefile
@@ -22,7 +22,8 @@ bugs = $(foreach i,\
tests = \
test-apiset \
test-session \
- test-wrap-json
+ test-wrap-json \
+ test-u16id
targets = \
afb-daemon-nocov \
@@ -140,6 +141,10 @@ test-wrap-json: $(tstdir)/session/test-session.c $(afb_lib_obj)
@echo creation of $@
@gcc -o $@ $(tstdir)/wrap-json/test-wrap-json.c $(afb_lib_obj) --coverage $(tst_defs) $(tst_flags)
+test-u16id: $(tstdir)/u16id/test-u16id.c $(afb_lib_obj)
+ @echo creation of $@
+ @gcc -o $@ $(tstdir)/u16id/test-u16id.c $(afb_lib_obj) --coverage $(tst_defs) $(tst_flags)
+
#======================================================================================
# create bindings
#======================================================================================
diff --git a/coverage/scripts/run-test.sh b/coverage/scripts/run-test.sh
index 7dfb3695..e7fc1b57 100755
--- a/coverage/scripts/run-test.sh
+++ b/coverage/scripts/run-test.sh
@@ -109,6 +109,8 @@ mk $R/bin/test-session
mk $R/bin/test-wrap-json
+mk $R/bin/test-u16id
+
echo '
##########################################################
# true life test: run parts as direct client