create generic test device for multiple traits testing.
As part of testing multiple traits using libweave API,
creating a test_schema which can hold multiple traits, and
these multiple traits will be used in one single test device,
and this test device will be used in test cases for test
libweave API.
Change-Id: Ia68e8aa9d43b927f41c7961e62d8ab78c46a85c8
Reviewed-on: https://weave-review.googlesource.com/3068
Reviewed-by: Alex Vakulenko <avakulenko@google.com>
diff --git a/Makefile b/Makefile
index e348fd8..965fd85 100644
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,7 @@
out/$(BUILD_MODE)/libweave.so : out/$(BUILD_MODE)/libweave_common.a
$(CXX) -shared -Wl,-soname=libweave.so -o $@ -Wl,--whole-archive $^ -Wl,--no-whole-archive -lcrypto -lexpat -lpthread -lrt
-include cross.mk file_lists.mk third_party/third_party.mk examples/examples.mk tests.mk
+include cross.mk file_lists.mk third_party/third_party.mk examples/examples.mk tests.mk tests_schema/tests_schema.mk
###
# src/
@@ -94,7 +94,7 @@
all-libs : out/$(BUILD_MODE)/libweave.so
all-tests : out/$(BUILD_MODE)/libweave_exports_testrunner out/$(BUILD_MODE)/libweave_testrunner
-all : all-libs all-examples all-tests
+all : all-libs all-examples all-tests all-testdevices
clean :
rm -rf out