summaryrefslogtreecommitdiffstats
path: root/CAN-binder/libs/nanopb/tests/regression/issue_172
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-02 18:29:37 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-02 18:29:37 +0200
commitb9e1b4435a406a8a27c078ea05dee1240e51704a (patch)
tree3bd5e75d001d0c1d57710c47375af5c8ba84c26c /CAN-binder/libs/nanopb/tests/regression/issue_172
parent0242c26c2f5dc96387bca7efb118364c800f4ee7 (diff)
Added external libraries from openXC CMake files.
Now libraries are cleanly included and built. Change-Id: Iaa85639578b55b2da8357bc438426403e2cca8de Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/libs/nanopb/tests/regression/issue_172')
-rw-r--r--CAN-binder/libs/nanopb/tests/regression/issue_172/SConscript16
-rw-r--r--CAN-binder/libs/nanopb/tests/regression/issue_172/msg_size.c9
-rw-r--r--CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.options1
-rw-r--r--CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.proto4
-rw-r--r--CAN-binder/libs/nanopb/tests/regression/issue_172/test.proto6
5 files changed, 0 insertions, 36 deletions
diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_172/SConscript b/CAN-binder/libs/nanopb/tests/regression/issue_172/SConscript
deleted file mode 100644
index 49c919e8..00000000
--- a/CAN-binder/libs/nanopb/tests/regression/issue_172/SConscript
+++ /dev/null
@@ -1,16 +0,0 @@
-# Verify that _size define is generated for messages that have
-# includes from another directory.
-
-Import('env')
-
-incpath = env.Clone()
-incpath.Append(PROTOCPATH="#regression/issue_172/submessage")
-incpath.Append(CPPPATH="$BUILD/regression/issue_172/submessage")
-incpath.NanopbProto('test')
-incpath.NanopbProto(['submessage/submessage', 'submessage/submessage.options'])
-
-p = incpath.Program(["msg_size.c",
- "test.pb.c",
- "submessage/submessage.pb.c"])
-
-
diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_172/msg_size.c b/CAN-binder/libs/nanopb/tests/regression/issue_172/msg_size.c
deleted file mode 100644
index be45acb4..00000000
--- a/CAN-binder/libs/nanopb/tests/regression/issue_172/msg_size.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "test.pb.h"
-
-PB_STATIC_ASSERT(testmessage_size >= 1+1+1+1+16, TESTMESSAGE_SIZE_IS_WRONG)
-
-int main()
-{
- return 0;
-}
-
diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.options b/CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.options
deleted file mode 100644
index 12fb1984..00000000
--- a/CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.options
+++ /dev/null
@@ -1 +0,0 @@
-submessage.data max_size: 16
diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.proto b/CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.proto
deleted file mode 100644
index ce6804af..00000000
--- a/CAN-binder/libs/nanopb/tests/regression/issue_172/submessage/submessage.proto
+++ /dev/null
@@ -1,4 +0,0 @@
-syntax = "proto2";
-message submessage {
- required bytes data = 1;
-}
diff --git a/CAN-binder/libs/nanopb/tests/regression/issue_172/test.proto b/CAN-binder/libs/nanopb/tests/regression/issue_172/test.proto
deleted file mode 100644
index fbd97be5..00000000
--- a/CAN-binder/libs/nanopb/tests/regression/issue_172/test.proto
+++ /dev/null
@@ -1,6 +0,0 @@
-syntax = "proto2";
-import "submessage.proto";
-
-message testmessage {
- optional submessage sub = 1;
-}