From 0fd887b7ab896e47b2f7ffe78f41738f3824a962 Mon Sep 17 00:00:00 2001 From: Jose Bollo Date: Tue, 19 Nov 2019 13:43:06 +0100 Subject: 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 --- coverage/.gitignore | 1 + coverage/bin/Makefile | 7 ++++++- coverage/scripts/run-test.sh | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) (limited to 'coverage') 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 -- cgit